{"id":"GHSA-mg69-6j3m-jvgw","aliases":["GHSA-mg69-6j3m-jvgw"],"related":[],"kind":"vulnerability","state":"published","title":"HTML Injection in marky-markdown","summary":"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`","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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`","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:45:08.000Z","modified":"2021-10-04T20:55:27.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"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://snyk.io/vuln/SNYK-JS-MARKYMARKDOWN-548871","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1470","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mg69-6j3m-jvgw","url":"https://github.com/advisories/GHSA-mg69-6j3m-jvgw","licence":"CC-BY-4.0","modified":"2021-10-04T20:55:27.000Z"}],"updatedAt":"2026-11-25T22:56:45.944Z"}