MediumGHSA-9cw2-jqp5-7x39CVE-2014-3743
Multiple Content Injection Vulnerabilities in marked
Published 31 Aug 2020 · Updated 8 Nov 2023
Affected package
markednpm
- Affected
- <0.3.1
- Fixed in
- 0.3.1
Update to the fixed version for your release line, for example:
npm install marked@0.3.1Details
Versions 0.3.0 and earlier of marked are affected by two cross-site scripting vulnerabilities, even when sanitize: true is set.
The attack vectors for this vulnerability are GFM Codeblocks and JavaScript URLs.
Recommendation
Upgrade to version 0.3.1 or later.
Is GHSA-9cw2-jqp5-7x39 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected marked, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.