CVE-2026-144292
7.6HighPublished Dec 3, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- Passive
- Impact
- High impact on confidentiality, integrity
- Weakness
- CWE-79, CWE-1336
What an attacker gets
Attackers can execute arbitrary JavaScript in the user's browser via XSS. This requires a user to interact with a page that uses DOMPurify with the SAFE_FOR_TEMPLATES option and subsequently reparses the output through a template engine.
Root cause
The sanitizer fails to properly split brace fragments when SAFE_FOR_TEMPLATES is enabled, allowing them to recombine into executable expressions during innerHTML reparsing.
Affected versions
DOMPurify versions prior to 3.5.0
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade to DOMPurify 3.5.0 or later. If you cannot update immediately, avoid using the SAFE_FOR_TEMPLATES configuration option.
$ npm install dompurify@latestAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.5.0, DOMPurify.sanitize() with SAFE_FOR_TEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. A template engine that compiles the reparsed DOM can evaluate the reconstructed expression, allowing arbitrary JavaScript execution in the page origin. Plain unsplit template expressions remain scrubbed, and exploitation requires the sanitized output to be reparsed and compiled by a template engine. This issue is fixed in version 3.5.0.
References
- https://github.com/cure53/DOMPurify/commit/d05b24333a25f6f2e949493749523563f15230e2
- https://github.com/cure53/DOMPurify/pull/1744
- https://github.com/cure53/DOMPurify/releases/tag/3.5.0
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hrxw-jjj6-2g2j
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-hrxw-jjj6-2g2j
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1445107.3HighRemote attackers can manipulate user object attributes during signup to gain unauthorized access or escalate privileges. This requires no authentication and can be triggered by submitting crafted user_fields data.
- CVE-2026-1369888.1HighUnauthenticated attackers can upload and execute arbitrary PHP files on the server. This requires WooCommerce Bookings or Easy Booking to be active and a bookable product with an EPO file-upload element configured.
- CVE-2026-1051049.8CriticalUnauthenticated attackers can gain full administrative control over the device. They only need network access to the dongle's web interface to use the hard-coded credentials.
- CVE-2026-1051039.8CriticalAttackers can remotely control these dongles, including factory resetting them or changing admin passwords. They only need the device IMEI and serial number to hijack the connection to the manufacturer's C2 server.
- CVE-2026-1051028.8HighUnauthenticated attackers on the local network can download the full device configuration file. This exposes plaintext administrator credentials, WiFi passwords, and TR-069 credentials, allowing full device takeover.
- CVE-2026-1051018.8HighUnauthenticated attackers on the local network can execute arbitrary commands as root. This is possible via the web interface ping diagnostic function.