Bug 2500676 (CVE-2026-49459)

Summary: CVE-2026-49459 dompurify: DOMPurify: Cross-site scripting bypass allows arbitrary script execution
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abarbaro, alizardo, amctagga, anjoseph, anpicker, aoconnor, ataylor, bniver, bparees, cdrage, dbruscin, dkeler, dschmidt, ehugonne, flucifre, fmariani, gmalinko, gmeno, gparvin, groman, hasun, janstey, jchui, jfula, jhe, jlanda, jowilson, jprabhak, jwong, jwon, kaycoth, kbempah, kshier, ktsao, kvanderr, manissin, mbenjamin, mcarlett, mhackett, nboldt, nyancey, oaljalju, omaciel, ometelka, pjindal, psrna, ptisnovs, rhaigner, rstepani, rushinde, sdawley, simaishi, solenoci, sostapov, stcannon, suppawar, syedriko, tcunning, teagle, thason, ttakamiy, vereddy, wtam, xdharmai, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in DOMPurify, a library designed to sanitize HTML, MathML, and SVG to prevent cross-site scripting (XSS) attacks. A remote attacker could exploit a vulnerability in the `DOMPurify.sanitize` function when used with the `IN_PLACE: true` option. This flaw allows an attacker to bypass the sanitizer and inject malicious event-handler attributes into an attacker-controlled form element. Successful exploitation could lead to the execution of arbitrary scripts in the user's browser, potentially compromising user data or session integrity.
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:

Description OSIDB Bzimport 2026-07-14 21:04:35 UTC
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-controlled <form> root when a descendant name clobbered properties checked by _isClobbered, because _forceRemove no-opped on the parent-less root and _sanitizeAttributes returned early. This issue is fixed in version 3.4.6.