Home / NaturalIntelligence / fast-xml-parser / CVE-2023-34104
CVE-2023-34104: is it exploited, and which versions of NaturalIntelligence fast-xml-parser are affected and fixed?
CVE-2023-34104 is a denial of service (uncontrolled resource consumption) vulnerability in NaturalIntelligence fast-xml-parser. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: fast-xml-parser from 4.1.3 before 4.2.4 (GitHub advisory GHSA-6w63-h3fj-q4vw). Fixed in 4.2.4 (GitHub advisory GHSA-6w63-h3fj-q4vw). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-34104?
Regex Injection via Doctype Entities
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.
From the CVE record by GitHub_M, last updated August 2, 2024, 16:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NaturalIntelligence | fast-xml-parser | >= 4.1.3, < 4.2.4 |
As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | fast-xml-parser | >= 4.1.3, < 4.2.4 | 4.2.4 | GHSA-6w63-h3fj-q4vw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 9, 2026. Summary: fast-xml-parser vulnerable to Regex Injection via Doctype Entities.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| naturalintelligence | fast-xml-parser | before 4.2.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:02 UTC.
How severe is CVE-2023-34104?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-34104 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.13% probability of exploitation activity in the next 30 days, percentile 67.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-6w63-h3fj-q4vw x_refsource_CONFIRM
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/39b0e050bb909e8499478657f84a3076e39ce76c x_refsource_MISC
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/a4bdced80369892ee413bf08e28b78795a2b0d5b x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 25, 2023
- Published
- June 6, 2023, 17:35 UTC
- CVE record updated
- August 2, 2024, 16:01 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:02 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect fast-xml-parser?
- Dec 1, 2026CVE-2026-141469 NaturalIntelligence fast-xml-parser: denial of service (uncontrolled resource consumption)
- Nov 10, 2026CVE-2026-126066 NaturalIntelligence fast-xml-parser: denial of service through slow algorithm
- Aug 13, 2026CVE-2026-73569 NaturalIntelligence fast-xml-parser: XML entity expansion (billion laughs)
- May 7, 2026CVE-2026-41650 NaturalIntelligence fast-xml-parser: XML injection
- Mar 24, 2026CVE-2026-33349 NaturalIntelligence fast-xml-parser: quantity not validated
- Mar 20, 2026CVE-2026-33036 NaturalIntelligence fast-xml-parser: XML entity expansion (billion laughs)
- Feb 26, 2026CVE-2026-27942 NaturalIntelligence fast-xml-parser: buffer overflow
- Feb 20, 2026CVE-2026-25896 NaturalIntelligence fast-xml-parser: incorrect Regular Expression
Questions about CVE-2023-34104
Is CVE-2023-34104 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 1.13% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NaturalIntelligence fast-xml-parser are affected by CVE-2023-34104?
fast-xml-parser from 4.1.3 before 4.2.4, per the GitHub advisory GHSA-6w63-h3fj-q4vw. The tables above give every range the sources list.
Which version fixes CVE-2023-34104?
4.2.4, per the GitHub advisory GHSA-6w63-h3fj-q4vw. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-34104?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-34104?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.