Vulnerability
CVE-2025-15599
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.
38 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-27xg-p858-7p4w
- CGA-2cqj-fcpp-2v72
- CGA-2xwp-c7gp-c9j9
- CGA-3q6v-9gq6-9m83
- CGA-3r85-g3fw-327w
- CGA-3r9m-mr25-vhg6
- CGA-48xx-3c27-3hfp
- CGA-4jr2-rrmq-rvp8
- CGA-52q8-26qm-7h7h
- CGA-5mc4-jfj5-m6h6
- CGA-6452-gp7w-gf54
- CGA-6fh6-8wcm-ghfr
- CGA-839m-2jx6-v33h
- CGA-84wm-85hc-j29r
- CGA-89wg-3pg2-8g9v
- CGA-9946-2qg7-pr38
- CGA-9r8x-r87g-vpf8
- CGA-ccp9-wmrq-r93r
- CGA-fh76-cc7c-9qvf
- CGA-fh9m-5mfr-c89c
- CGA-fm3p-v9h9-3r35
- CGA-g96f-7rq3-2c2f
- CGA-g9wg-7fjx-37jp
- CGA-ggmr-hwqv-xc8c
- CGA-hwjm-p4v8-qhjw
- CGA-jq3v-x9vr-g9cm
- CGA-mwq7-732x-rphp
- CGA-p23m-59f6-p3ch
- CGA-pw68-ccpj-qf87
- CGA-q37w-gjfv-9j4v
- CGA-vh7r-97jr-qrgc
- CGA-w8vx-xqqw-27jw
- CGA-ww5g-w5cm-2h33
- CGA-xr7r-7f8h-3qp7
-
DEBIAN-CVE-2025-15599
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…
-
GHSA-v8jm-5vwx-cfxm
DOMPurify contains a Cross-site Scripting vulnerability
-
RHVEX-CVE-2025-15599
DOMPurify: DOMPurify: Cross-site scripting
-
UBUNTU-CVE-2025-15599
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…