CVE-2026-126066
fast-xml-parser: fast-xml-parser: Denial of Service via quadratic rescanning of unterminated tags
Overview
Description
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to 5.12.0, when the non-default stopNodes option is enabled, readStopNodeData() in OrderedObjParser.js calls readTagExp() for each less-than character in an unterminated stop-node body and repeatedly rescans the remaining input while looking for a closing greater-than character. An attacker who supplies XML containing many tag fragments without a later closing character can cause quadratic rescanning before parsing fails, blocking a Node.js event loop and causing CPU-exhaustion denial of service. This issue is fixed in version 5.12.0.
Source: OX vulnerability database
Severity
3.7 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-407
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | fast-xml-parser | <5.12.0 | 5.12.0 |
| Seal npm | @seal-security/fast-xml-parser | >=3.19.0-sp1, <3.19.0-sp999>=4.2.5-sp1, <4.2.5-sp999>=4.4.1-sp1, <4.4.1-sp999>=5.2.5-sp1, <5.2.5-sp999>=5.4.1-sp1, <5.4.1-sp999+1 more | 3.19.0-sp9994.2.5-sp9994.4.1-sp9995.2.5-sp9995.4.1-sp999 |
| Seal npm | fast-xml-parser | >=3.19.0-sp0, <3.19.0-sp999>=4.2.5-sp0, <4.2.5-sp999>=4.4.1-sp0, <4.4.1-sp999>=5.2.5-sp0, <5.2.5-sp999>=5.4.1-sp0, <5.4.1-sp999+1 more | 3.19.0-sp9994.2.5-sp9994.4.1-sp9995.2.5-sp9995.4.1-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 37 fixes
chainguard 1 release · 26 packages
| Release | Package | Fixed in |
|---|---|---|
| librechat | 0.8.8-r11 | |
| supabase-fips | 1.26.08-r4 | |
| supabase | 1.26.08-r6 | |
| saf | 1.7.0-r7 | |
| supabase-storage-api-fips | 1.79.28-r5 | |
| supabase-storage-api | 1.84.23-r2 |
20 more rows
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-webfont | affected |
| 13 | node-webfont | affected |
| 14 | node-webfont | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-webfont | affected |
wolfi 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| saf | 1.7.0-r7 | |
| jitsucom-jitsu | 2.11.0-r43 | |
| kubeflow-pipelines | 2.18.0-r9 | |
| langfuse-3 | 3.227.1-r1 | |
| opensearch-dashboards-3 | 3.9.0-r11 | |
| nextcloud-server-33 | 33.0.10-r8 |
1 more row
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-126066
- github.com https://github.com/NaturalIntelligence/fast-xml-parser
- github.com https://github.com/NaturalIntelligence/fast-xml-parser/commit/0c3659348364959da62954b73728fb3bd05ebcb4
- github.com https://github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.0
- github.com https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-474x-hrwr-fgx4
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-126066
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-126066
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.