{"id":"CVE-2026-145156","state":"PUBLISHED","title":"sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass","description":"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.","publishedAt":"2026-12-04T16:31:09.779Z","updatedAt":"2026-12-04T16:31:09.779Z","severity":{"score":2.3,"label":"Low","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["apostrophecms sanitize-html"],"affected":[{"vendor":"apostrophecms","product":"sanitize-html","packageURL":"pkg:npm/sanitize-html","defaultStatus":"unaffected","versions":[{"version":"2.17.7","status":"affected","lessThan":"2.18.2","versionType":"semver"}],"repo":"https://github.com/apostrophecms/apostrophe"}],"references":["https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc","https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7","https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md","https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043","https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass"],"weaknesses":["CWE-184"],"ingestedAt":"2026-12-04T16:36:06.314Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/145xxx/CVE-2026-145156.json","commit":"b010e4ebd823eec7fcd691db6743218b0abb4d30","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-145156","state":"PUBLISHED","datePublished":"2026-12-04T16:31:09.779Z","dateUpdated":"2026-12-04T16:31:09.779Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-04T16:15:50.659Z"},"containers":{"cna":{"title":"sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"apostrophecms","product":"sanitize-html","packageURL":"pkg:npm/sanitize-html","defaultStatus":"unaffected","versions":[{"version":"2.17.7","status":"affected","lessThan":"2.18.2","versionType":"semver"}],"repo":"https://github.com/apostrophecms/apostrophe"}],"references":[{"url":"https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-8g6g-w2rq-xcmc","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-8g6g-w2rq-xcmc)"},{"url":"https://github.com/apostrophecms/apostrophe/commit/bd727d101de798d574196173f3cbc4f9aaedb3f7","tags":["patch"]},{"url":"https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.2/packages/sanitize-html/CHANGELOG.md","tags":["release-notes"]},{"url":"https://github.com/apostrophecms/apostrophe/blob/sanitize-html%402.18.1/packages/sanitize-html/index.js#L1018-L1043","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/sanitize-html-2.17.7-before-2.18.2-xss-via-smil-attributename-extra-colon-bypass","name":"VulnCheck Advisory: sanitize-html 2.17.7 before 2.18.2 XSS via SMIL attributeName Extra-Colon Bypass","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":2.3,"baseSeverity":"LOW"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-184","lang":"en","description":"Incomplete List of Disallowed Inputs","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-04T16:31:09.779Z"},"datePublic":"2026-11-11T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:*:*:*","versionStartIncluding":"2.17.7","versionEndExcluding":"2.18.2"}]}]}],"credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}