# CVE-2025-15599: DOMPurify XSS via Textarea Rawtext Bypass in SAFE\_FOR\_XML

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-03 · Modified: 2026-10-08
- Aliases: UBUNTU-CVE-2025-15599, DEBIAN-CVE-2025-15599, CGA-4jr2-rrmq-rvp8, CGA-9946-2qg7-pr38, CGA-fh9m-5mfr-c89c, CGA-jq3v-x9vr-g9cm, CGA-vh7r-97jr-qrgc, CGA-w8vx-xqqw-27jw, GHSA-v8jm-5vwx-cfxm, 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-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-9r8x-r87g-vpf8, CGA-ccp9-wmrq-r93r, CGA-fh76-cc7c-9qvf, CGA-fm3p-v9h9-3r35, CGA-g96f-7rq3-2c2f, CGA-g9wg-7fjx-37jp, CGA-ggmr-hwqv-xc8c, CGA-hwjm-p4v8-qhjw, CGA-mwq7-732x-rphp, CGA-p23m-59f6-p3ch, CGA-pw68-ccpj-qf87, CGA-q37w-gjfv-9j4v, CGA-ww5g-w5cm-2h33, CGA-xr7r-7f8h-3qp7
- Record: https://cvemate.com/vulnerability/CVE-2025-15599 · JSON: https://cvemate.com/vulnerability/CVE-2025-15599/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.295%, percentile 23.792%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 24)

- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard langfuse-2 (Chainguard): \< 2.95.12-r13
- chainguard langfuse-2-worker (Chainguard): \< 2.95.12-r13
- chainguard langfuse-3 (Chainguard): \< 3.160.0-r1
- chainguard langfuse-3-worker (Chainguard): \< 3.160.0-r1
- chainguard langfuse-fips-2 (Chainguard): \< 2.95.12-r16
- chainguard langfuse-fips-2-worker (Chainguard): \< 2.95.12-r16
- chainguard langfuse-fips-3 (Chainguard): \< 3.160.0-r1
- chainguard langfuse-fips-3-worker (Chainguard): \< 3.160.0-r1
- chainguard langfuse-fips-3.152 (Chainguard): All versions (No fix recorded)
- chainguard langfuse-fips-3.152-worker (Chainguard): All versions (No fix recorded)
- chainguard opensearch-dashboards-2 (Chainguard): \< 2.19.5-r3
- chainguard opensearch-dashboards-2-fips (Chainguard): \< 2.19.5-r1
- chainguard opensearch-dashboards-3 (Chainguard): \< 3.5.0-r6
- chainguard opensearch-dashboards-3-fips (Chainguard): \< 3.5.0-r6
- chainguard wazuh-dashboard-plugins (Chainguard): \< 4.14.4-r1
- wolfi langfuse-3 (Wolfi): \< 3.160.0-r1
- wolfi langfuse-3-worker (Wolfi): \< 3.160.0-r1
- wolfi opensearch-dashboards-3 (Wolfi): \< 3.5.0-r6

## References

- <https://github.com/cure53/DOMPurify>
- <https://github.com/cure53/DOMPurify/commit/c861f5a83fb8d90800f1680f855fee551161ac2b>
- <https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safe-for-xml>
- <https://ubuntu.com/security/CVE-2025-15599>
- <https://www.cve.org/CVERecord?id=CVE-2025-15599>
- <https://security-tracker.debian.org/tracker/CVE-2025-15599>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15599.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-15599>
- <https://www.vulncheck.com/advisories/dompurify-xss-via-textarea-rawtext-bypass-in-safeforxml>

---

Data as of 2026-12-05T13:05:51.932Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
