GHSA-wjmf-58vc-xqjr
MEDIUMwithdrawn / rejectedContent injection in marked
Versions 0.3.7 and earlier of marked When mangling is disabled via option mangle don't escape target href. This allow attacker to inject arbitrary html-event into resulting a tag.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | marked | < 0.3.9 | 0.3.9 |
References
- https://github.com/markedjs/marked/issues/926 · WEB
- https://github.com/markedjs/marked/commit/cb72584c5d9d32ebfdbb99e35fb9b81af2b79686 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Feb 2021)