{"id":"GHSA-pxmp-fwjc-4x7q","aliases":[],"status":"published","title":"HTML Injection in marky-markdown","description":"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`","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-03T15:45:23Z","modified":"2023-01-09T05:04:04Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"marky-markdown","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"marky-markdown","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/1471","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pxmp-fwjc-4x7q"},{"url":"https://github.com/npm/marky-markdown","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-pxmp-fwjc-4x7q","title":"HTML Injection in marky-markdown","description":"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`","status":"published","published":"2020-09-03T15:45:23Z","modified":"2023-01-09T05:04:04Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:08.267721Z"}],"osv":[{"id":"GHSA-pxmp-fwjc-4x7q","title":"HTML Injection in marky-markdown","description":"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`","status":"published","published":"2020-09-03T15:45:23Z","modified":"2021-10-04T20:56:09Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
