Bug 2461155 (CVE-2026-41239)

Summary: CVE-2026-41239 DOMPurify: Vue 2: DOMPurify: Cross-site scripting due to incomplete sanitization of template expressions
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: aazores, abarbaro, abrianik, akostadi, alcohan, alizardo, amasferr, amctagga, anjoseph, anpicker, aoconnor, bniver, cdrage, chfoley, cmah, dkeler, dmayorov, dschmidt, eaguilar, ebaron, erezende, ewittman, fdeutsch, flucifre, ggrzybek, gmeno, gparvin, groman, hasun, janstey, jbalunas, jchui, jfula, jhe, jkoehler, jlanda, jlledo, jolong, jowilson, jprabhak, jraez, jwong, kaycoth, kbempah, kshier, ktsao, lchilton, lphiri, manissin, mbarnett, mbenjamin, mhackett, nboldt, nipatil, nyancey, oaljalju, omaciel, ometelka, oramraz, pahickey, pantinor, parichar, pjindal, psrna, ptisnovs, rgodfrey, rhaigner, rhel-process-autobot, rkubis, rushinde, sdawley, sfeifer, simaishi, smcdonal, smullick, solenoci, sostapov, stcannon, stirabos, suppawar, swoodman, syedriko, tasato, teagle, thason, tsedmik, ttakamiy, vereddy, watson-tool-maintainers, wtam, xdharmai, 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 remote attacker could exploit this cross-site scripting (XSS) vulnerability when DOMPurify is configured to return a Document Object Model (DOM) or DOM fragment. The SAFE_FOR_TEMPLATES feature, intended to strip template expressions like {{...}}, fails in these modes, allowing malicious content to bypass sanitization. This can lead to arbitrary code execution or information disclosure in applications utilizing template-evaluating frameworks such as Vue 2.
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-04-23 16:14:39 UTC
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Starting in version 1.0.10 and prior to version 3.4.0, `SAFE_FOR_TEMPLATES` strips `{{...}}` expressions from untrusted HTML. This works in string mode but not with `RETURN_DOM` or `RETURN_DOM_FRAGMENT`, allowing XSS via template-evaluating frameworks like Vue 2. Version 3.4.0 patches the issue.