{"id":"GHSA-wjmf-58vc-xqjr","summary":"Content injection in marked","details":"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.","modified":"2021-02-25T02:01:56Z","published":"2021-02-25T02:01:56Z","withdrawn":"2021-02-25T02:01:56Z","database_specific":{"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2019-06-05T20:56:48Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/markedjs/marked/issues/926"},{"type":"WEB","url":"https://github.com/markedjs/marked/commit/cb72584c5d9d32ebfdbb99e35fb9b81af2b79686"}],"affected":[{"package":{"name":"marked","ecosystem":"npm","purl":"pkg:npm/marked"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.3.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/02/GHSA-wjmf-58vc-xqjr/GHSA-wjmf-58vc-xqjr.json"}}],"schema_version":"1.9.0"}