CVE-2025-43954 QMarkdown Cross-Site Scripting (XSS) vulnerability
Attackers can execute arbitrary scripts via headers in QMarkdown even when no-html is enabled, affecting Quasar applications.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-43954?
CVE-2025-43954 is a medium-severity cross-site scripting vulnerability in Quasar QMarkdown, published on 20 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
QMarkdown (aka quasar-ui-qmarkdown) before 2.0.5 allows XSS via headers even when when no-html is set.
Weakness: CWE-79
Which versions are affected by CVE-2025-43954?
2 open source packages ship an affected version, including @quasar/quasar-ui-qmarkdown. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@quasar/quasar-ui-qmarkdown npm | All versions | 2.0.5 |
@quasar/quasar-ui-qmarkdown npm | All versions | 2.0.5 |
Products include Quasar Qmarkdown.
How do I fix CVE-2025-43954?
Upgrade @quasar/quasar-ui-qmarkdown to 2.0.5 or later.
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-43954 being exploited?
There is no known exploitation of CVE-2025-43954 in the wild and no public exploit code.
Sources
Also known as GHSA-wm65-ph3w-587c.