{"id":"CVE-2026-145156","summary":"sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass","details":"sanitize-html 2.17.7 before 2.18.2 contains a cross-site scripting vulnerability that allows attackers to bypass allowedSchemes by supplying SVG animation attributeName values with multiple colons. Attackers can submit markup like attributeName xlink:href:x with javascript: URLs in values, from, or to attributes, executing script when victims click the animated link.","aliases":["GHSA-8g6g-w2rq-xcmc"],"modified":"2026-12-04T18:00:34.390194055Z","published":"2026-12-04T16:31:09.779Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-184"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145156.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145156.json"},{"type":"PACKAGE","url":"https://github.com/apostrophecms/apostrophe"},{"type":"ARTICLE","url":"https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043"},{"type":"ADVISORY","url":"https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md"},{"type":"FIX","url":"https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7"},{"type":"ADVISORY","url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145156"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apostrophecms/apostrophe","events":[{"introduced":"72f4531e7b491738049eec423d0c1c2342828e5f"},{"fixed":"710a4e98a7406ab744a05eb4997911c6d6dd6acc"},{"fixed":"bd727d101de798d574196173f3cbc4f9aaedb3f7"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.17.7"},{"fixed":"2.18.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"bd727d101de798d574196173f3cbc4f9aaedb3f7"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["uploadfs@1.28.1","sanitize-html@2.18.1","csv-to-zone-file@1.0.1","apostrophe@4.34.0","@apostrophecms/seo@1.7.1","@apostrophecms/import-export@3.7.1","@apostrophecms/i18n-static@1.2.1","@apostrophecms/form@1.5.6","@apostrophecms/form-submission-google@1.0.4","@apostrophecms/apostrophe-astro@1.17.0","@apostrophecms/ai-helper@1.0.0-beta.14","uploadfs@1.28.0","sluggo@1.0.1","sanitize-html@2.18.0","launder@1.7.2","express-cache-on-demand@1.1.0","eslint-config-apostrophe@6.1.0","boring@1.1.2","apostrophecms-openapi@1.1.1","apostrophe@4.33.0","@apostrophecms/vite@1.2.0","@apostrophecms/sitemap@1.5.1","@apostrophecms/seo@1.7.0","@apostrophecms/scheduled-publishing@1.0.6","@apostrophecms/redirect@1.7.1","@apostrophecms/passport-bridge@1.6.1","@apostrophecms/openapi-generator@1.1.0","@apostrophecms/login-recaptcha@1.2.1","@apostrophecms/login-hcaptcha@1.3.0","@apostrophecms/import-export@3.7.0","@apostrophecms/import-export-xlsx@1.2.0","@apostrophecms/i18n-static@1.2.0","@apostrophecms/form@1.5.5","@apostrophecms/form-submission-google@1.0.3","@apostrophecms/favicon@1.1.4","@apostrophecms/db-connect@1.1.0","@apostrophecms/cli@3.7.1","@apostrophecms/cache-redis@1.1.1","@apostrophecms/apostrophe-astro@1.16.0","@apostrophecms/anchors@1.1.1","@apostrophecms/ai-helper@1.0.0-beta.13","sanitize-html@2.17.7","apostrophe@4.32.1","@apostrophecms/apostrophe-astro@1.15.0","@apostrophecms/ai-helper@1.0.0-beta.12"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145156.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N"}]}