Security mailing lists by PureSourceCode

CVE-2025-15599

MEDIUM 5.1CVSS 4.0

DOMPurify contains a Cross-site Scripting vulnerability

DOMPurify 3.1.3 through 3.2.6 and 2.5.3 through 2.5.8 contain a cross-site scripting vulnerability that allows attackers to bypass attribute sanitization by exploiting missing textarea rawtext element validation in the SAFE_FOR_XML regex. Attackers can include closing rawtext tags like </textarea> in attribute values to break out of rawtext contexts and execute JavaScript when sanitized output is placed inside rawtext elements. The 3.x branch was fixed in 3.2.7; the 2.x branch was never patched.

Published
3 Mar 2026
Last modified
8 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-v8jm-5vwx-cfxm
Sources
NVDJSONOSV GHSA-v8jm-5vwx-cfxmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 5.1 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/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
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cure53 dompurify
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
>= 2.5.3, <= 2.5.8
NVD cure53 dompurify
cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*
>= 3.1.3, < 3.2.7 3.2.7
OSV npm dompurify >= 3.1.3, < 3.2.7 3.2.7
OSV npm dompurify >= 2.5.3, <= 2.5.8

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Mar 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Mar 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.