Skip to main content
VulnerabilityPublished

CVE-2026-145156: apostrophecms sanitize-html · Incomplete List of Disallowed Inputs

Affects apostrophecms sanitize-htmlSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low : upgrade to 2.18.2 when convenient.

Data as of 4 Dec 2026, 16:49 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.3
CNA (VulnCheck)CVSS 3.14.7
Patch
Available – fixed in 2.18.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.

What to do

Upgrade apostrophecms sanitize-html to 2.18.2.

Affected software

ProductAffectedFixed in
apostrophecmssanitize-htmlAffected
  • >=2.17.7 <2.18.2
Fixed in
  • 2.18.2
npmsanitize-htmlpkg:npm/sanitize-htmlOther threatsAffected
  • >=2.17.7 <2.18.2
Fixed in
  • 2.18.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade sanitize-html to version 2.18.2 or later, where this vulnerability is fixed. No other mitigation is indicated or required.

Description

sanitize-html versions from 2.17.7 up to but not including 2.18.2 contain a cross-site scripting (XSS) vulnerability. This flaw allows attackers to bypass the allowedSchemes restriction by using SVG animation attributeName values with multiple colons, such as 'xlink:href:x', embedding javascript: URLs that execute script when users interact with the animated link. The vulnerability is fixed in version 2.18.2.

References

Community reviews

Loading reviews…