CVE-2025-7969 Markdown-it 14.1.0 - Cross-site scripting (XSS)

Medium 6.9 Published Updated

Cross-site scripting vulnerability in markdown-it allows attackers to inject malicious scripts into web pages rendered by the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-7969?

CVE-2025-7969 is a medium-severity cross-site scripting vulnerability in markdown-it, published on 21 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in markdown-it allows Cross-Site Scripting (XSS). This vulnerability is associated with program files lib/renderer.mjs.

This issue affects markdown-it: 14.1.0. NOTE: the Supplier does not consider this issue to be a vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2025-7969?

It affects 1 product.

Products include Markdown-It Project Markdown-It.

How do I fix CVE-2025-7969?

No fix has been published for CVE-2025-7969 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-7969 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7969 exists.

Sources

Also known as DEBIAN-CVE-2025-7969, GHSA-vgm8-mvfh-rj89, UBUNTU-CVE-2025-7969.

Is CVE-2025-7969 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free