7.5

CVE-2023-34104: naturalintelligence fast-xml-parser Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighModified
AliasesGHSA-6w63-h3fj-q4vw
Published 06-06-2023Last modified 02-08-2024

Vulnerability summary

CVE-2023-34104 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in naturalintelligence fast-xml-parser. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 65.7% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.13%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 06-06-2023
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

Description

fast-xml-parser is an open source, pure javascript xml parser. fast-xml-parser allows special characters in entity names, which are not escaped or sanitized. Since the entity name is used for creating a regex for searching and replacing entities in the XML body, an attacker can abuse it for denial of service (DoS) attacks. By crafting an entity name that results in an intentionally bad performing regex and utilizing it in the entity replacement step of the parser, this can cause the parser to stall for an indefinite amount of time. This problem has been resolved in v4.2.4. Users are advised to upgrade. Users unable to upgrade should avoid using DOCTYPE parsing by setting the `processEntities: false` option.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.13%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

-0.01 pp

From 1.14% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Naturalintelligence1 product
Npm1 product
  • fast-xml-parser≥ 4.1.3, < 4.2.4

2 vendors · 2 products

References

5 links