CVE catalog

CVE-2026-25896

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 entit

[CVE catalog]

Severity
Critical · CVSS 9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

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 (<, >, &, ", ') with arbitrary values. This bypasses entity encoding and leads to XSS when parsed output is rendered. This vulnerability is fixed in 5.3.5.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-webfontsid11.4.0+dfsg2+~cs35.7.26-22vulnerable
Debiannode-webfontforky11.4.0+dfsg2+~cs35.7.26-22vulnerable
Debiannode-webfonttrixie11.4.0+dfsg2+~cs35.7.26-13vulnerable
Debiannode-webfontbookworm11.4.0+dfsg2+~cs35.7.26-7vulnerable
Npmfast-xml-parserNot reported5.3.5fixed
Cpenode-webfontNot reportedNot reportedvulnerable
Cpefast-xml-parserNot reported5.3.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-webfontsourcesid(unfixed)not yet assignedNot reported[1147730]
Debiannode-webfontsourceforky(unfixed)not yet assignedNot reported[1147730]
Debiannode-webfontsourcetrixie(unfixed)not yet assignedNot reported[1147730]
Debiannode-webfontsourcebookworm(unfixed)not yet assignedNot reported[1147730]
Npmfast-xml-parsernpmNot reported5.3.5Not reportedNot reportedNot reported
Cpefast-xml-parsercpeNot reported5.3.5Not reportedNVD-CVE-2026-25896Not reported

[Debian bug #1147730]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-webfont]Affected
    Details (2)
    • 11.4.0+dfsg2+~cs35.7.26-7 · all · bookworm

      Affected

      nvd · node-webfont · debian · bookworm; nvd · node-webfont · debian · 12

    • 11.4.0+dfsg2+~cs35.7.26-7 · all · bookworm

      Affected

      nvd · node-webfont · debian · bookworm; nvd · node-webfont · debian · 12

[Debian 13 (Trixie)]

  • [node-webfont]Affected
    Details (2)
    • 11.4.0+dfsg2+~cs35.7.26-13 · all · trixie

      Affected

      nvd · node-webfont · debian · 13

    • 11.4.0+dfsg2+~cs35.7.26-13 · all · trixie

      Affected

      nvd · node-webfont · debian · 13

Observed:

References