cve.bz

CVE-2026-25896 naturalintelligence fast-xml-parser: Incorrect Regular Expression

9.3 criticalExploit referenceEPSS 0.5%Fix available

Critical (9.3) in naturalintelligence fast-xml-parser. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in fast-xml-parser 4.5.4, 5.3.5.

On this page
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.

Severity

CVSS 3.1

9.3 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-02-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-185 Incorrect Regular Expression
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25896 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25896?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25896?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25896 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
naturalintelligence:fast-xml-parserfrom 4.1.3 before 5.3.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m7jm-9gc2-mpf2npmfast-xml-parser>=5.0.0 <5.3.55.3.5
GHSA-m7jm-9gc2-mpf2npmfast-xml-parser>=4.1.3 <4.5.44.5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-webfontno fix listedDEBIAN-CVE-2026-25896
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morenode-webfontno fix listedUBUNTU-CVE-2026-25896

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw has been assessed as IMPORTANT for Red Hat products. This vulnerability arises when the parsed XML output is subsequently rendered to users which requires the interaction of the user. The impact of this flaw is also limited to the user's browser context.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Security 4.8advanced-cluster-security/rhacs-main-rhel8:1775594119Fixed 2026-04-08RHSA-2026:7110
Red Hat Advanced Cluster Security 4.9advanced-cluster-security/rhacs-main-rhel8:1775594284Fixed 2026-04-08RHSA-2026:7128
Red Hat Developer Hub 1.8rhdh/rhdh-hub-rhel9:1774545605Fixed 2026-03-30RHSA-2026:6174
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1775140647Fixed 2026-04-07RHSA-2026:6802
Red Hat Openshift Data Foundation 4.18odf4/cephcsi-rhel9:1783676191Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/cephcsi-rhel9-operator:1783929816Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/mcg-core-rhel9:1784094353Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/mcg-rhel9-operator:1784093953Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/ocs-client-console-rhel9:1784094943Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/ocs-client-rhel9-operator:1783676585Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/ocs-metrics-exporter-rhel9:1783676649Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/ocs-rhel9-operator:1783676675Fixed 2026-07-20RHSA-2026:41941
Red Hat Openshift Data Foundation 4.18odf4/odf-cli-rhel9:1784094299Fixed 2026-07-20RHSA-2026:41941
Migration Toolkit for Applications 8mta/mta-ui-rhel9Affected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Will not fix
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Will not fix
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-pluginAffected
Red Hat OpenShift Virtualization 4container-native-virtualization/kubevirt-console-plugin-rhel9Affected
Red Hat Satellite 6satellite/iop-vulnerability-frontend-rhel9Not affected
Self-service automation portal 2ansible-automation-platform/automation-portalAffected
53 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25896.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON