CVE catalog

CVE-2026-33349

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses Java

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 25, 2026

fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. From version 4.0.0-beta.3 to before version 5.5.7, the DocTypeReader in fast-xml-parser uses JavaScript truthy checks to evaluate maxEntityCount and maxEntitySize configuration limits. When a developer explicitly sets either limit to 0 — intending to disallow all entities or restrict entity size to zero bytes — the falsy nature of 0 in JavaScript causes the guard conditions to short-circuit, completely bypassing the limits. An attacker who can supply XML input to such an application can trigger unbounded entity expansion, leading to memory exhaustion and denial of service. This issue has been patched in version 5.5.7.

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.5.7fixed
Cpenode-webfontNot reportedNot reportedvulnerable

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.5.7Not reportedNot reportedNot 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