{"id":"CVE-2026-84371","published":"2026-09-01T20:51:10Z","modified":"2026-09-02T16:02:13Z","title":"ApostropheCMS: Stored XSS via SVG SMIL URI-list scheme-policy bypass","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 version 1.9.0 until version 2.17.7, packages/sanitize-html/index.js validates an animation value attribute as one flat URL and does not recognize that attributeName selecting href or xlink:href gives the sibling values, from, to, or by attribute SVG SMIL URL semantics. In configurations that allow the animate, animateColor, animateMotion, animateTransform, or set elements, a values list can begin with a safe fragment and contain a later executable destination that survives allowedSchemesAppliedToAttributes checking. When the sanitized SVG is rendered, the browser can copy that later destination into the live link, and a victim who activates the link can execute script in the application's origin. This issue is fixed in version 2.17.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00298,"percentile":0.23054,"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-g8qq-57p8-ggw5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/apostrophecms/apostrophe/pull/5552","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949","tags":["x_refsource_MISC"]},{"url":"https://github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md","tags":["x_refsource_MISC"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.61},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"apostrophecms","affectedVersions":[{"vendor":"apostrophecms","product":"apostrophe","versions":[">= 1.9.0, < 2.17.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-02T13:42:23.692626Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"sanitize-html","vulnerableRanges":[">=1.9.0, <2.17.7"],"patched":["2.17.7"],"from":["GHSA-g8qq-57p8-ggw5"],"provenance":"source"}],"summary":{"text":"ApostropheCMS (the apostrophe product, versions 1.9.0 through 2.17.7) contains a flaw in its bundled sanitize-html sanitizer, which fails to recognise that SVG SMIL animation elements can supply link destinations through their values lists when attributeName targets href or xlink:href, so scheme checks are applied only to a single URL. An attacker with low-privilege authenticated access who can get a victim to activate a link in sanitized SVG content, in a configuration that permits SMIL animation elements, can cause script to run in the application's origin.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:56Z"},"euvd":{"id":"EUVD-2026-69654","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44990","published":"2026-06-12","fixed":"2.17.4","kev":false},{"cve":"CVE-2026-53606","published":"2026-06-12","fixed":"2.17.5","kev":false},{"cve":"CVE-2026-63670","published":"2026-08-17","fixed":"2.17.6","kev":false,"link":{"from":"CVE-2026-63670","to":"CVE-2026-84371","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.17.6","toFixed":"2.17.7","daysApart":15},{"kind":"same-code","provenance":"machine","files":["packages/sanitize-html/index.js"],"commits":["https://github.com/apostrophecms/apostrophe/commit/eae1fb2b72ec5d1c27d0977509c6482a0408f725","https://github.com/apostrophecms/apostrophe/commit/1135516a1a4a8f9638641c460488a43d8af20081","https://github.com/apostrophecms/apostrophe/commit/38ff1106c8176b16c2da9872acd9b449adcbb949"],"basis":"shared file"}]}},{"cve":"CVE-2026-84371","published":"2026-09-01","fixed":"2.17.7","kev":false},{"cve":"CVE-2026-113654","published":"2026-10-20","fixed":"2.18.0","kev":false,"link":{"from":"CVE-2026-84371","to":"CVE-2026-113654","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.17.7","toFixed":"2.18.0","daysApart":49}]}},{"cve":"CVE-2026-113657","published":"2026-10-20","fixed":"2.18.0","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-113661","published":"2026-10-20","fixed":"2.18.0","kev":false,"link":{"from":"CVE-2026-84371","to":"CVE-2026-113661","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:sanitize-html","fromFixed":"2.17.7","toFixed":"2.18.0","daysApart":49}]}}],"package":"npm:sanitize-html"}}