# CVE-2026-113657: ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript: URI injection (XSS)

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/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.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-20T16:54:12.995Z
- Modified: 2026-10-20T19:53:10.247Z
- Also known as: GHSA-374f-7chj-9948
- 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. From sanitize-html 2.17.7 until 2.18.0, an application configuration that permits namespace-prefixed SVG animation elements and the relevant URL-targeting attributes can bypass the SMIL URL protection because prefixed tag names do not match the unprefixed animation-element check. The bypass can rewrite a link destination to an unsafe URI after the sanitized SVG is rendered, with script execution occurring when a user activates the affected link; the default sanitizer configuration is not unconditionally affected. This issue is fixed in sanitize-html 2.18.0.

(As written by CVE List.)

## Affected

- apostrophecms apostrophe: < 4.33.0
- apostrophecms sanitize-html: >= 2.17.7, < 2.18.0
- sanitize-html (npm): from 2.17.7 before 2.18.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-374f-7chj-9948> (exploit, web)
- <https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce> (web)
- <https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350> (web)
- <https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.0> (web)
- <https://github.com/apostrophecms/apostrophe> (package)

## Sources

- CVE List: [CVE-2026-113657](https://www.cve.org/CVERecord?id=CVE-2026-113657), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-374f-7chj-9948](https://github.com/advisories/GHSA-374f-7chj-9948), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-113657](https://nvd.nist.gov/vuln/detail/CVE-2026-113657), Public domain, modified 2026-10-20

---

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