GHSA-32vw-r77c-gm67: Withdrawn Advisory Cross-Site Scripting Vulnerability
MODERATEGHSA-32vw-r77c-gm67 is a MODERATE cross-site scripting vulnerability (General Security Weakness) affecting Withdrawn Advisory libraries in the npm ecosystem. The issue involves marked cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 0.3.3.
GHSA-32vw-r77c-gm67 at a Glance
How to Fix GHSA-32vw-r77c-gm67
To remediate this vulnerability, upgrade all affected Withdrawn Advisory 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 marked@0.3.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls marked
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-32vw-r77c-gm67, inspect your project dependencies using npm:
npm ls marked
Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.3), your application is affected.
Note: The npm ls marked 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 General Security Weakness. In Withdrawn Advisory, 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
GHSA-32vw-r77c-gm67 Affected Withdrawn Advisory Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
marked
|
npm |
< 0.3.3
|
0.3.3
|
References
Frequently Asked Questions
What is GHSA-32vw-r77c-gm67?
Which Withdrawn Advisory versions are affected?
What version fixes GHSA-32vw-r77c-gm67?
Is marked affected?
What CWE is associated with GHSA-32vw-r77c-gm67?
How can I check npm dependencies for GHSA-32vw-r77c-gm67?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-32vw-r77c-gm67",
"modified" : "2025-02-26T15:25:30Z",
"published" : "2020-08-03T17:57:05Z",
"withdrawn" : "2020-08-03T17:57:05Z",
"aliases" : [ ],
"summary" : "Withdrawn Advisory: marked cross-site scripting vulnerability",
"details" : "Versions 0.3.2 and earlier of marked are affected by a cross-site scripting vulnerability even when sanitize:true is set.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "marked"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/markedjs/marked/issues/492"
}, {
"type" : "WEB",
"url" : "https://github.com/markedjs/marked/commit/fc372d1c6293267722e33f2719d57cebd67b3da1"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/24"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/advisories/24/versions"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-05T13:58:26Z",
"nvd_published_at" : null
}
}