{"id":"GHSA-pxmp-fwjc-4x7q","aliases":["GHSA-pxmp-fwjc-4x7q"],"related":[],"kind":"vulnerability","state":"published","title":"HTML Injection in marky-markdown","summary":"All versions of `marky-markdown` are vulnerable to HTML Injection due to a validation bypass. The package only allows iframes where the source is `youtube.com` but it is possible to bypass the validation with sources where `youtube.com` is the sub-domain, such as `youtube.com.evil.co`. This \n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All versions of `marky-markdown` are vulnerable to HTML Injection due to a validation bypass. The package only allows iframes where the source is `youtube.com` but it is possible to bypass the validation with sources where `youtube.com` is the sub-domain, such as `youtube.com.evil.co`. This \n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:45:23.000Z","modified":"2021-10-04T20:56:09.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"marky-markdown","purl":"pkg:npm/marky-markdown","source":"ghsa"}],"references":[{"url":"https://github.com/npm/marky-markdown","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1471","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pxmp-fwjc-4x7q","url":"https://github.com/advisories/GHSA-pxmp-fwjc-4x7q","licence":"CC-BY-4.0","modified":"2021-10-04T20:56:09.000Z"}],"updatedAt":"2026-11-25T22:56:46.203Z"}