# GHSA-pxmp-fwjc-4x7q: HTML Injection in marky-markdown

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:45:23.000Z
- Modified: 2021-10-04T20:56:09.000Z
- Weaknesses: CWE-79

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


## 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://www.npmjs.com/advisories/1471> (web)

## Sources

- GitHub Advisory Database: [GHSA-pxmp-fwjc-4x7q](https://github.com/advisories/GHSA-pxmp-fwjc-4x7q), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-pxmp-fwjc-4x7q · Whole record: https://cve.day/GHSA-pxmp-fwjc-4x7q.json · Rebuilt by cve.day 2026-11-25T22:56:46.203Z
