Vulnerabilities in pkg:npm/@quasar/quasar-ui-qmarkdown
PACKAGECVE-2025-43954 is a MODERATE (CVSS 4.9) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting @quasar/quasar ui qmarkdown libraries in the npm ecosystem. The issue involves qmarkdown cross-site scripting (xss) vulnerability. Remediation is available by upgrading affected packages to version 2.0.5.
pkg:npm/@quasar/quasar-ui-qmarkdown
Vulnerability advisories affecting package pkg:npm/@quasar/quasar-ui-qmarkdown. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-wm65-ph3w-587c | CVE-2025-43954 | MODERATE | QMarkdown Cross-Site Scripting (XSS) vulnerability |
CVE-2025-43954 at a Glance
Security Impact
CVSS: 4.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-43954
To remediate this vulnerability, upgrade all affected @quasar/quasar ui qmarkdown dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @quasar/quasar-ui-qmarkdown@2.0.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @quasar/quasar-ui-qmarkdown
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-43954, inspect your project dependencies using npm:
npm ls @quasar/quasar-ui-qmarkdown
Analyze the terminal output to locate any version of @quasar/quasar ui qmarkdown in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.5), your application is affected.
Note: The npm ls @quasar/quasar-ui-qmarkdown command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In @quasar/quasar ui qmarkdown, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-43954 Affected @quasar/quasar ui qmarkdown Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@quasar/quasar-ui-qmarkdown
|
npm |
< 2.0.5
|
2.0.5
|
References
Frequently Asked Questions
What is CVE-2025-43954?
Which @quasar/quasar ui qmarkdown versions are affected?
What version fixes CVE-2025-43954?
Is @quasar/quasar-ui-qmarkdown affected?
What is the CVSS score of CVE-2025-43954?
What CWE is associated with CVE-2025-43954?
How can I check npm dependencies for CVE-2025-43954?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wm65-ph3w-587c",
"modified" : "2025-04-21T16:18:45Z",
"published" : "2025-04-20T21:30:25Z",
"aliases" : [ "CVE-2025-43954" ],
"summary" : "QMarkdown Cross-Site Scripting (XSS) vulnerability",
"details" : "QMarkdown (aka quasar-ui-qmarkdown) before 2.0.5 allows XSS via headers even when when no-html is set.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@quasar/quasar-ui-qmarkdown"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.5"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-43954"
}, {
"type" : "WEB",
"url" : "https://github.com/quasarframework/quasar-ui-qmarkdown/commit/b61dff84851c45369cf931db5bd93db177c657f6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/quasarframework/quasar-ui-qmarkdown"
}, {
"type" : "WEB",
"url" : "https://github.com/quasarframework/quasar-ui-qmarkdown/compare/v2.0.4...v2.0.5"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-21T16:18:45Z",
"nvd_published_at" : "2025-04-20T19:15:43Z"
}
}