{"id":"CVE-2026-113657","published":"2026-10-20T16:54:12Z","modified":"2026-10-20T17:08:06Z","title":"ApostropheCMS sanitize-html: SMIL animation namespace-prefix bypass allows javascript: URI injection (XSS)","vendor":"apostrophecms","product":"apostrophe","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00331,"percentile":0.18696,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-374f-7chj-9948","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/releases/tag/sanitize-html@2.18.0","tags":["x_refsource_MISC"]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":3.74},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":["< 4.33.0"]},{"vendor":"apostrophecms","product":"sanitize-html","versions":[">= 2.17.7, < 2.18.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-20T17:07:42.782981Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sanitize-html","vulnerableRanges":[">=2.17.7, <2.18.0"],"patched":["2.18.0"],"from":["GHSA-374f-7chj-9948"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105186","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-63670","published":"2026-08-17","fixed":"2.17.6","kev":false},{"cve":"CVE-2026-84371","published":"2026-09-01","fixed":"2.17.7","kev":false,"link":{"from":"CVE-2026-84371","to":"CVE-2026-113657","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.17.7","toFixed":"2.18.0","daysApart":49},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2026-113654","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113657","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113661","published":"2026-10-20","fixed":"2.18.0","kev":false},{"cve":"CVE-2026-113650","published":"2026-10-20","fixed":"2.18.1","kev":false}],"package":"npm:sanitize-html"}}