MediumGHSA-7px7-7xjx-hxm8CVE-2017-1000427
Marked vulnerable to XSS from data URIs
Published 4 Jan 2018 · Updated 8 Nov 2023
Affected package
markednpm
- Affected
- <0.3.7
- Fixed in
- 0.3.7
Update to the fixed version for your release line, for example:
npm install marked@0.3.7Details
marked version 0.3.6 and earlier is vulnerable to an XSS attack in the data: URI parser.
Is GHSA-7px7-7xjx-hxm8 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2017-1000427
- Advisorygithub.com/advisories/GHSA-7px7-7xjx-hxm8
- Packagegithub.com/markedjs/marked
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BO2RMVVZVV6NFTU46B5RYRK7ZCXYARZS
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M6BJG6RGDH7ZWVVAUFBFI5L32RSMQN2S
- Linksnyk.io/vuln/npm:marked:20170112
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.