Description
marked version 0.3.6 and earlier is vulnerable to an XSS attack in the data: URI parser.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-marked | 0.3.9+dfsg-1 | — |
| Debian 13 | node-marked | 0.3.9+dfsg-1 | — |
| Debian 12 | node-marked | 0.3.9+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | node-marked | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | marked | < 0.3.7 | 0.3.7 | GHSA-7px7-7xjx-hxm8 |
References
- https://snyk.io/vuln/npm:marked:20170112
- FEDORA-2020-d714c08261 vendor-advisory
- FEDORA-2020-5eca570e16 vendor-advisory