Bug 2556333 (CVE-2026-113654)

Summary: CVE-2026-113654 sanitize-html: sanitize-html: HTML sanitization bypass via improper noscript tag handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, anthomas, aos-team-art-private, asdas, cmyers, dnakabaa, doconnor, dpaolell, ehelms, ggainey, gparvin, gtanzill, jbalunas, jbuscemi, jdelft, jpasqual, jupierce, juwatts, kaycoth, lcouzens, lgarciaa, mbiarnes, mdellweg, mhulan, mstipich, nmoumoul, osousa, pcreech, ppalepu, ppostler, prdhamdh, prwatson, rchan, rexwhite, rhaigner, rhel-process-autobot, sdawley, sghai, sidsharm, smallamp, sthirugn, suppawar, tmalecek, tsze, vlaad, watson-tool-maintainers, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in sanitize-html. A remote attacker can bypass HTML sanitization by submitting specially crafted markup when the library is configured to strip noscript tags. In this scenario, the parser can prematurely terminate the discard region, allowing unsanitized content to persist and render in a user's browser, potentially leading to cross-site scripting (XSS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2561829, 2561831, 2561833, 2561835, 2561836, 2561837, 2561838, 2561841, 2561842, 2561843, 2561846, 2561847, 2561828, 2561844, 2561845, 2561848    
Bug Blocks:    

Description OSIDB Bzimport 2026-10-20 16:51:41 UTC
ApostropheCMS is an open-source Node.js content management system, and sanitize-html provides a simple HTML sanitizer with a clear API. Prior to sanitize-html 2.18.0, a non-default nonTextTags configuration that includes noscript can end its discard region early when htmlparser2 emits an implied ancestor close inside noscript. Because scripting-enabled browsers treat noscript content as raw text while the parser does not model that mode, content intended to remain inert can survive sanitization and render; the issue does not generalize to every default nonTextTags element. This issue is fixed in sanitize-html 2.18.0.