MediumGHSA-7px7-7xjx-hxm8CVE-2017-1000427

Marked vulnerable to XSS from data URIs

Published 4 Jan 2018 · Updated 8 Nov 2023

Affected package

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.7

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.