# CVE-2026-53606: sanitize-html has an incomplete URI scheme validation that allows javascript: URIs through action, formaction, data, poster, and background attributes

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T20:50:47.085Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-vccv-cmxp-4j9h
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Versions of sanitize-html prior to 2.17.5 use `allowedSchemesAppliedToAttributes` (default: `['href', 'src', 'cite']`) to gate the `naughtyHref()` function that blocks dangerous URI schemes like `javascript:` and `vbscript:`. The HTML specification defines 10+ attributes that accept URIs (`action`, `formaction`, `data`, `poster`, `background`, `ping`, `xlink:href`, `dynsrc`, `lowsrc`), but none of these are included in the default gate list. When a developer allows any of these attributes in their configuration, `javascript:` URIs pass through completely unmodified, enabling XSS. Version 2.17.5 patches the issue.

(As written by CVE List.)

## Affected

- apostrophecms sanitize-html: < 2.17.5
- sanitize-html (npm): from 1.18.0 before 2.17.5

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-vccv-cmxp-4j9h> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53606> (advisory)
- <https://github.com/apostrophecms/apostrophe/pull/5464> (web)
- <https://github.com/apostrophecms/apostrophe/commit/5a88e9630cbbdde33154ef8abe7557ddf7be418b> (web)
- <https://github.com/apostrophecms/apostrophe> (package)
- <https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.17.5> (web)

## Sources

- CVE List: [CVE-2026-53606](https://www.cve.org/CVERecord?id=CVE-2026-53606), CVE Terms of Use, modified 2026-06-15
- GitHub Advisory Database: [GHSA-vccv-cmxp-4j9h](https://github.com/advisories/GHSA-vccv-cmxp-4j9h), CC-BY-4.0, modified 2026-07-31
- NVD: [CVE-2026-53606](https://nvd.nist.gov/vuln/detail/CVE-2026-53606), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-53606 · Whole record: https://cve.day/CVE-2026-53606.json · Rebuilt by cve.day 2026-11-25T22:59:24.578Z
