# CVE-2026-25896: fast-xml-parser has an entity encoding bypass via regex injection in DOCTYPE entity names

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 4.5.4, 5.3.5 (CNA); fix release not confirmed
- Status: published
- Published: 2026-02-20 · Modified: 2026-09-10
- Aliases: UBUNTU-CVE-2026-25896, DEBIAN-CVE-2026-25896, CGA-2x2m-6m6j-crqg, CGA-3489-pph8-5jm3, CGA-3qf9-89cq-hhqp, CGA-43f8-677j-xc8x, CGA-4mqx-mj48-qj6v, CGA-882q-32vc-x6vc, CGA-9vmw-p2ch-cxxm, CGA-fpwc-4qfp-pf72, CGA-m24v-vxrr-x56j, CGA-p76w-8x8j-c67j, CGA-pfvx-r43h-3g66, CGA-x5cc-8773-8fmp, GHSA-m7jm-9gc2-mpf2, CGA-263h-48qc-2339, CGA-3466-464j-5qq3, CGA-3v3m-9894-pm8f, CGA-53pq-9664-jm46, CGA-5fw3-mh2c-qf28, CGA-6cjf-4jrh-c492, CGA-789q-6vh9-j235, CGA-9j3j-fvhw-r69x, CGA-c9xp-56xh-7q64, CGA-gw48-ggqr-8f3x, CGA-h56m-m393-6qr2, CGA-hmwf-p668-mrp3, CGA-hvm6-93q6-qq2q, CGA-jhvv-8x42-jvmv, CGA-m4p6-6qcj-p598, CGA-m9vp-gg5v-chwp, CGA-pgvj-fqgp-gfhr, CGA-v742-5mp7-rjq9, CGA-vh8r-hwr4-pw24, CGA-vqh3-9m47-3cq7, CGA-xcjj-rpqh-h44p, CGA-xrc6-36v4-j22h
- Record: https://cvemate.com/vulnerability/CVE-2026-25896 · JSON: https://cvemate.com/vulnerability/CVE-2026-25896/json

## Description

```text
fast-xml-parser allows users to validate XML, parse XML to JS object, or build XML from JS object without C/C++ based libraries and no callback. From 4.1.3to before 5.3.5, a dot (.) in a DOCTYPE entity name is treated as a regex wildcard during entity replacement, allowing an attacker to shadow built-in XML entities (&lt;, &gt;, &amp;, &quot;, &apos;) with arbitrary values. This bypasses entity encoding and leads to XSS when parsed output is rendered. This vulnerability is fixed in 5.3.5.
```

## Signals

- CVSS: 9.3 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
- EPSS: 0.52%, percentile 45.671%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 23)

- chainguard dbgate (Chainguard): \< 7.0.6-r1
- chainguard dbgate-fips (Chainguard): \< 7.1.0-r0
- chainguard kibana-8.18 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.18-bitnami (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.18-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): \< 9.3.0-r1
- chainguard kibana-9.3-iamguarded (Chainguard): \< 9.3.0-r1
- chainguard langfuse-2-worker (Chainguard): \< 2.95.12-r11
- chainguard langfuse-fips-2-worker (Chainguard): \< 2.95.12-r13
- chainguard nextcloud-server-31 (Chainguard): All versions (No fix recorded)
- chainguard prism (Chainguard): \< 5.14.3-r7
- chainguard renovate (Chainguard): \< 43.48.3-r0
- chainguard saf (Chainguard): \< 1.6.0-r0
- chainguard tileserver-gl (Chainguard): \< 5.5.0-r5
- chainguard tileserver-gl-fips (Chainguard): \< 5.5.0-r6
- wolfi prism (Wolfi): \< 5.14.3-r7
- wolfi renovate (Wolfi): \< 43.48.3-r0
- wolfi saf (Wolfi): \< 1.6.0-r0
- wolfi tileserver-gl (Wolfi): \< 5.5.0-r5
- debian node-webfont (Debian): All versions (No fix recorded)

## References (first 20 of 21)

- <https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-m7jm-9gc2-mpf2>
- <https://github.com/NaturalIntelligence/fast-xml-parser/commit/943ef0eb1b2d3284e72dd74f44a042ee9f07026e>
- <https://github.com/NaturalIntelligence/fast-xml-parser/commit/ddcd0acf26ddd682cb0dc15a2bd6aa3b96bb1e69>
- <https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.3.5>
- <https://access.redhat.com/security/cve/CVE-2026-25896>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2441501>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25896.json>
- <https://access.redhat.com/errata/RHSA-2026:7110>
- <https://access.redhat.com/errata/RHSA-2026:7128>
- <https://access.redhat.com/errata/RHSA-2026:6174>
- <https://access.redhat.com/errata/RHSA-2026:6802>
- <https://access.redhat.com/errata/RHSA-2026:41941>
- <https://access.redhat.com/errata/RHSA-2026:41944>
- <https://access.redhat.com/errata/RHSA-2026:40984>
- <https://access.redhat.com/errata/RHSA-2026:51349>
- <https://ubuntu.com/security/CVE-2026-25896>
- <https://www.cve.org/CVERecord?id=CVE-2026-25896>
- <https://security-tracker.debian.org/tracker/CVE-2026-25896>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25896.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25896>

---

Data as of 2026-12-05T08:49:45.405Z. 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
