Security mailing lists by PureSourceCode

CVE-2026-144292

HIGH 7.6CVSS 4.0

DOMPurify SAFE_FOR_TEMPLATES bypass: nested <form> makes a template expression reassemble when sanitized output is reparsed

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.

Published
3 Dec 2026
Last modified
4 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-1336CWE-79
Also known as
GHSA-hrxw-jjj6-2g2j
Sources
NVDJSONCVE ListJSONOSV GHSA-hrxw-jjj6-2g2jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 7.6 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
CVE List GitHub_M CVSS 4.0 HIGH 7.6 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
OSV GitHub CVSS 4.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
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List cure53 DOMPurify = < 3.5.0
OSV npm dompurify < 3.5.0 3.5.0

References

History

  • 4 Dec 2026 01:56 UTC · OSV: first stored (published 3 Dec 2026)
  • 3 Dec 2026 21:56 UTC · NVD: 1 reference added
  • 3 Dec 2026 20:56 UTC · CVE List: updated (other details)
  • 3 Dec 2026 19:56 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 17:56 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.