{"id":"GHSA-mg69-6j3m-jvgw","aliases":[],"status":"published","title":"HTML Injection in marky-markdown","description":"All versions of `marky-markdown` are vulnerable to HTML Injection. The package fails to sanitize `style` attributes in `img` tags of the markdown input. This may allow attackers to affect the size of images in the rendered HTML.\n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2020-09-03T15:45:08Z","modified":"2023-01-09T05:03:53Z","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/1470","tags":["web"]},{"url":"https://github.com/npm/marky-markdown","tags":["package"]},{"url":"https://snyk.io/vuln/SNYK-JS-MARKYMARKDOWN-548871","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mg69-6j3m-jvgw"}],"sources":{"ghsa":[{"id":"GHSA-mg69-6j3m-jvgw","title":"HTML Injection in marky-markdown","description":"All versions of `marky-markdown` are vulnerable to HTML Injection. The package fails to sanitize `style` attributes in `img` tags of the markdown input. This may allow attackers to affect the size of images in the rendered HTML.\n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","status":"published","published":"2020-09-03T15:45:08Z","modified":"2023-01-09T05:03:53Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-mg69-6j3m-jvgw","title":"HTML Injection in marky-markdown","description":"All versions of `marky-markdown` are vulnerable to HTML Injection. The package fails to sanitize `style` attributes in `img` tags of the markdown input. This may allow attackers to affect the size of images in the rendered HTML.\n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","status":"published","published":"2020-09-03T15:45:08Z","modified":"2021-10-04T20:55:27Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
