# GHSA-mg69-6j3m-jvgw: HTML Injection in marky-markdown

- Severity: High 7.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:45:08.000Z
- Modified: 2021-10-04T20:55:27.000Z
- Weaknesses: CWE-79

## 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.


## Recommendation

This package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`

(As written by GitHub Advisory Database.)

## Affected

- marky-markdown (npm): from 0.0.0

## References

- <https://github.com/npm/marky-markdown> (package)
- <https://snyk.io/vuln/SNYK-JS-MARKYMARKDOWN-548871> (web)
- <https://www.npmjs.com/advisories/1470> (web)

## Sources

- GitHub Advisory Database: [GHSA-mg69-6j3m-jvgw](https://github.com/advisories/GHSA-mg69-6j3m-jvgw), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-mg69-6j3m-jvgw · Whole record: https://cve.day/GHSA-mg69-6j3m-jvgw.json · Rebuilt by cve.day 2026-11-25T22:56:45.944Z
