CVE-2026-141469
fast- xml- parser: quadratic- time (ReDoS- class) denial of service in XMLValidator attribute scanner, default options
- Severity
- 5.3MediumNetwork attack, no privileges, no user interactionCVSS 3.1, CVE List
- Exploitation
- Proof of conceptCISA reports one, no source links it
- Exploit chance
- 0.91% in 30 daysPercentile61stEPSS, scored
- Listed fix
5.12.1for fast-xml- parser (npm) From GitHub Advisories and OSV83 other affected packages
Overview
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
CVSS 3.1 vector
Exploitability
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
Impact
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploit chance over time
Affected
Packages 84
| Package | Affected | Fixed |
|---|---|---|
fast-xml-parsernpm | through 5.12.0 | 5.12.1 |
| before 5.12.1 | 5.12.1 | |
fast-xml-parserTuxCare:npm | 5.11.2-tuxcare.0 up to 5.11.2-tuxcare.3, plus listed versions 5.11.25.11.2-tuxcare.15.11.2-tuxcare.2 | 5.11.2-tuxcare.3 |
node-webfontDebian:12 | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-1011.4.0+dfsg2+~cs35.7.26-1111.4.0+dfsg2+~cs35.7.26-1211.4.0+dfsg2+~cs35.7.26-1311.4.0+dfsg2+~cs35.7.26-14 Show 10 more versionsShow less11.4.0+dfsg2+~cs35.7.26-1511.4.0+dfsg2+~cs35.7.26-1611.4.0+dfsg2+~cs35.7.26-1811.4.0+dfsg2+~cs35.7.26-1911.4.0+dfsg2+~cs35.7.26-2011.4.0+dfsg2+~cs35.7.26-2111.4.0+dfsg2+~cs35.7.26-2211.4.0+dfsg2+~cs35.7.26-711.4.0+dfsg2+~cs35.7.26-811.4.0+dfsg2+~cs35.7.26-9 | None listed |
node-webfontDebian:13 | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-1311.4.0+dfsg2+~cs35.7.26-1411.4.0+dfsg2+~cs35.7.26-1511.4.0+dfsg2+~cs35.7.26-1611.4.0+dfsg2+~cs35.7.26-18 Show 4 more versionsShow less11.4.0+dfsg2+~cs35.7.26-1911.4.0+dfsg2+~cs35.7.26-2011.4.0+dfsg2+~cs35.7.26-2111.4.0+dfsg2+~cs35.7.26-22 | None listed |
node-webfontDebian:14 | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-1311.4.0+dfsg2+~cs35.7.26-1411.4.0+dfsg2+~cs35.7.26-1511.4.0+dfsg2+~cs35.7.26-1611.4.0+dfsg2+~cs35.7.26-18 Show 4 more versionsShow less11.4.0+dfsg2+~cs35.7.26-1911.4.0+dfsg2+~cs35.7.26-2011.4.0+dfsg2+~cs35.7.26-2111.4.0+dfsg2+~cs35.7.26-22 | None listed |
apicurio-registry-ui-3.2Docker Hardened Images:Alpine:3.23 | 3.2.6-r0 and later, plus listed versions 3.2.6-r1 | None listed |
apicurio-registry-ui-3.2Docker Hardened Images:Alpine:3.24 | 3.2.6-r0 and later, plus listed versions 3.2.6-r1 | None listed |
apicurio-registry-ui-3.3Docker Hardened Images:Alpine:3.23 | 3.3.4-r0 and later, plus listed versions 3.3.4-r13.3.5-r03.3.5-r13.3.5-r23.3.6-r03.3.6-r13.3.6-r2 | None listed |
apicurio-registry-ui-3.3Docker Hardened Images:Alpine:3.24 | 3.3.4-r0 and later, plus listed versions 3.3.4-r13.3.5-r03.3.5-r13.3.5-r23.3.6-r03.3.6-r13.3.6-r2 | None listed |
Show 75 more packagesShow less
| Package | Affected | Fixed |
|---|---|---|
argocd-3.3-devDocker Hardened Images:Alpine:3.23 | 3.3.14-r1 and later, plus listed versions 3.3.14-r23.3.14-r33.3.14-r43.3.14-r53.3.14-r6 Show 27 more versionsShow less3.3.14-r73.3.14-r83.3.14-r93.3.15-r03.3.15-r13.3.16-r03.3.16-r13.3.17-r03.3.17-r13.3.17-r23.3.18-r03.3.18-r13.3.18-r23.3.18-r33.3.18-r43.3.19-r03.3.19-r13.3.19-r103.3.19-r113.3.19-r23.3.19-r33.3.19-r43.3.19-r53.3.19-r63.3.19-r73.3.19-r83.3.19-r9 | None listed |
argocd-3.3-devDocker Hardened Images:Alpine:3.24 | 3.3.14-r1 and later, plus listed versions 3.3.14-r23.3.14-r33.3.14-r43.3.14-r53.3.14-r6 Show 27 more versionsShow less3.3.14-r73.3.14-r83.3.14-r93.3.15-r03.3.15-r13.3.16-r03.3.16-r13.3.17-r03.3.17-r13.3.17-r23.3.18-r03.3.18-r13.3.18-r23.3.18-r33.3.18-r43.3.19-r03.3.19-r13.3.19-r103.3.19-r113.3.19-r23.3.19-r33.3.19-r43.3.19-r53.3.19-r63.3.19-r73.3.19-r83.3.19-r9 | None listed |
argocd-3.3-fips-devDocker Hardened Images:Alpine:3.23 | 3.3.19-r8 and later, plus listed versions 3.3.19-r103.3.19-r113.3.19-r9 | None listed |
argocd-3.3-fips-devDocker Hardened Images:Alpine:3.24 | 3.3.19-r8 and later, plus listed versions 3.3.19-r103.3.19-r113.3.19-r9 | None listed |
argocd-3.3-fipsDocker Hardened Images:Alpine:3.23 | 3.3.19-r8 and later, plus listed versions 3.3.19-r103.3.19-r113.3.19-r9 | None listed |
argocd-3.3-fipsDocker Hardened Images:Alpine:3.24 | 3.3.19-r8 and later, plus listed versions 3.3.19-r103.3.19-r113.3.19-r9 | None listed |
argocd-3.3Docker Hardened Images:Alpine:3.23 | 3.3.14-r1 and later, plus listed versions 3.3.14-r23.3.14-r33.3.14-r43.3.14-r53.3.14-r6 Show 27 more versionsShow less3.3.14-r73.3.14-r83.3.14-r93.3.15-r03.3.15-r13.3.16-r03.3.16-r13.3.17-r03.3.17-r13.3.17-r23.3.18-r03.3.18-r13.3.18-r23.3.18-r33.3.18-r43.3.19-r03.3.19-r13.3.19-r103.3.19-r113.3.19-r23.3.19-r33.3.19-r43.3.19-r53.3.19-r63.3.19-r73.3.19-r83.3.19-r9 | None listed |
argocd-3.3Docker Hardened Images:Alpine:3.24 | 3.3.14-r1 and later, plus listed versions 3.3.14-r23.3.14-r33.3.14-r43.3.14-r53.3.14-r6 Show 27 more versionsShow less3.3.14-r73.3.14-r83.3.14-r93.3.15-r03.3.15-r13.3.16-r03.3.16-r13.3.17-r03.3.17-r13.3.17-r23.3.18-r03.3.18-r13.3.18-r23.3.18-r33.3.18-r43.3.19-r03.3.19-r13.3.19-r103.3.19-r113.3.19-r23.3.19-r33.3.19-r43.3.19-r53.3.19-r63.3.19-r73.3.19-r83.3.19-r9 | None listed |
argocd-3.4-devDocker Hardened Images:Alpine:3.23 | 3.4.7-r1 and later, plus listed versions 3.4.10-r03.4.10-r13.4.11-r03.4.11-r13.4.12-r0 Show 32 more versionsShow less3.4.12-r13.4.12-r23.4.12-r33.4.12-r43.4.12-r53.4.12-r63.4.12-r73.4.13-r03.4.13-r13.4.13-r23.4.13-r33.4.13-r43.4.13-r53.4.13-r63.4.13-r73.4.14-r03.4.14-r13.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r23.4.7-r23.4.8-r03.4.8-r13.4.8-r23.4.8-r33.4.8-r43.4.8-r53.4.8-r63.4.9-r03.4.9-r1 | None listed |
argocd-3.4-devDocker Hardened Images:Alpine:3.24 | 3.4.7-r1 and later, plus listed versions 3.4.10-r03.4.10-r13.4.11-r03.4.11-r13.4.12-r0 Show 32 more versionsShow less3.4.12-r13.4.12-r23.4.12-r33.4.12-r43.4.12-r53.4.12-r63.4.12-r73.4.13-r03.4.13-r13.4.13-r23.4.13-r33.4.13-r43.4.13-r53.4.13-r63.4.13-r73.4.14-r03.4.14-r13.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r23.4.7-r23.4.8-r03.4.8-r13.4.8-r23.4.8-r33.4.8-r43.4.8-r53.4.8-r63.4.9-r03.4.9-r1 | None listed |
argocd-3.4-fips-devDocker Hardened Images:Alpine:3.23 | 3.4.14-r1 and later, plus listed versions 3.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r2 | None listed |
argocd-3.4-fips-devDocker Hardened Images:Alpine:3.24 | 3.4.14-r1 and later, plus listed versions 3.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r2 | None listed |
argocd-3.4-fipsDocker Hardened Images:Alpine:3.23 | 3.4.14-r1 and later, plus listed versions 3.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r2 | None listed |
argocd-3.4-fipsDocker Hardened Images:Alpine:3.24 | 3.4.14-r1 and later, plus listed versions 3.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r2 | None listed |
argocd-3.4Docker Hardened Images:Alpine:3.23 | 3.4.7-r1 and later, plus listed versions 3.4.10-r03.4.10-r13.4.11-r03.4.11-r13.4.12-r0 Show 32 more versionsShow less3.4.12-r13.4.12-r23.4.12-r33.4.12-r43.4.12-r53.4.12-r63.4.12-r73.4.13-r03.4.13-r13.4.13-r23.4.13-r33.4.13-r43.4.13-r53.4.13-r63.4.13-r73.4.14-r03.4.14-r13.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r23.4.7-r23.4.8-r03.4.8-r13.4.8-r23.4.8-r33.4.8-r43.4.8-r53.4.8-r63.4.9-r03.4.9-r1 | None listed |
argocd-3.4Docker Hardened Images:Alpine:3.24 | 3.4.7-r1 and later, plus listed versions 3.4.10-r03.4.10-r13.4.11-r03.4.11-r13.4.12-r0 Show 32 more versionsShow less3.4.12-r13.4.12-r23.4.12-r33.4.12-r43.4.12-r53.4.12-r63.4.12-r73.4.13-r03.4.13-r13.4.13-r23.4.13-r33.4.13-r43.4.13-r53.4.13-r63.4.13-r73.4.14-r03.4.14-r13.4.15-r03.4.15-r13.4.16-r03.4.16-r13.4.16-r23.4.7-r23.4.8-r03.4.8-r13.4.8-r23.4.8-r33.4.8-r43.4.8-r53.4.8-r63.4.9-r03.4.9-r1 | None listed |
argocd-3.5-devDocker Hardened Images:Alpine:3.23 | 3.5.1-r1 and later, plus listed versions 3.5.1-r23.5.10-r03.5.10-r13.5.10-r23.5.2-r0 Show 32 more versionsShow less3.5.2-r13.5.2-r23.5.2-r33.5.2-r43.5.2-r53.5.3-r03.5.3-r13.5.4-r03.5.4-r13.5.5-r03.5.5-r13.5.6-r03.5.6-r13.5.6-r23.5.6-r33.5.6-r43.5.6-r53.5.6-r63.5.6-r73.5.7-r03.5.7-r13.5.7-r23.5.7-r33.5.7-r43.5.7-r53.5.7-r63.5.7-r73.5.7-r83.5.8-r03.5.8-r13.5.9-r03.5.9-r1 | None listed |
argocd-3.5-devDocker Hardened Images:Alpine:3.24 | 3.5.1-r1 and later, plus listed versions 3.5.1-r23.5.10-r03.5.10-r13.5.10-r23.5.2-r0 Show 32 more versionsShow less3.5.2-r13.5.2-r23.5.2-r33.5.2-r43.5.2-r53.5.3-r03.5.3-r13.5.4-r03.5.4-r13.5.5-r03.5.5-r13.5.6-r03.5.6-r13.5.6-r23.5.6-r33.5.6-r43.5.6-r53.5.6-r63.5.6-r73.5.7-r03.5.7-r13.5.7-r23.5.7-r33.5.7-r43.5.7-r53.5.7-r63.5.7-r73.5.7-r83.5.8-r03.5.8-r13.5.9-r03.5.9-r1 | None listed |
argocd-3.5-fips-devDocker Hardened Images:Alpine:3.23 | 3.5.8-r1 and later, plus listed versions 3.5.10-r03.5.10-r13.5.10-r23.5.9-r03.5.9-r1 | None listed |
argocd-3.5-fips-devDocker Hardened Images:Alpine:3.24 | 3.5.8-r1 and later, plus listed versions 3.5.10-r03.5.10-r13.5.10-r23.5.9-r03.5.9-r1 | None listed |
argocd-3.5-fipsDocker Hardened Images:Alpine:3.23 | 3.5.8-r1 and later, plus listed versions 3.5.10-r03.5.10-r13.5.10-r23.5.9-r03.5.9-r1 | None listed |
argocd-3.5-fipsDocker Hardened Images:Alpine:3.24 | 3.5.8-r1 and later, plus listed versions 3.5.10-r03.5.10-r13.5.10-r23.5.9-r03.5.9-r1 | None listed |
argocd-3.5Docker Hardened Images:Alpine:3.23 | 3.5.1-r1 and later, plus listed versions 3.5.1-r23.5.10-r03.5.10-r13.5.10-r23.5.2-r0 Show 32 more versionsShow less3.5.2-r13.5.2-r23.5.2-r33.5.2-r43.5.2-r53.5.3-r03.5.3-r13.5.4-r03.5.4-r13.5.5-r03.5.5-r13.5.6-r03.5.6-r13.5.6-r23.5.6-r33.5.6-r43.5.6-r53.5.6-r63.5.6-r73.5.7-r03.5.7-r13.5.7-r23.5.7-r33.5.7-r43.5.7-r53.5.7-r63.5.7-r73.5.7-r83.5.8-r03.5.8-r13.5.9-r03.5.9-r1 | None listed |
argocd-3.5Docker Hardened Images:Alpine:3.24 | 3.5.1-r1 and later, plus listed versions 3.5.1-r23.5.10-r03.5.10-r13.5.10-r23.5.2-r0 Show 32 more versionsShow less3.5.2-r13.5.2-r23.5.2-r33.5.2-r43.5.2-r53.5.3-r03.5.3-r13.5.4-r03.5.4-r13.5.5-r03.5.5-r13.5.6-r03.5.6-r13.5.6-r23.5.6-r33.5.6-r43.5.6-r53.5.6-r63.5.6-r73.5.7-r03.5.7-r13.5.7-r23.5.7-r33.5.7-r43.5.7-r53.5.7-r63.5.7-r73.5.7-r83.5.8-r03.5.8-r13.5.9-r03.5.9-r1 | None listed |
directus-12Docker Hardened Images:Alpine:3.23 | 12.4.1-r0 and later, plus listed versions 12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0 Show 19 more versionsShow less12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4 | None listed |
directus-12Docker Hardened Images:Alpine:3.24 | 12.4.1-r0 and later, plus listed versions 12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0 Show 19 more versionsShow less12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4 | None listed |
librechat-0Docker Hardened Images:Alpine:3.23 | 0.8.8-r0 and later, plus listed versions 0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5 Show 5 more versionsShow less0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3 | None listed |
librechat-0Docker Hardened Images:Alpine:3.24 | 0.8.8-r0 and later, plus listed versions 0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5 Show 5 more versionsShow less0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3 | None listed |
logto-1Docker Hardened Images:Alpine:3.23 | 1.45.0-r0 and later, plus listed versions 1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0 Show 8 more versionsShow less1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8 | None listed |
logto-1Docker Hardened Images:Alpine:3.24 | 1.45.0-r0 and later, plus listed versions 1.45.0-r11.45.0-r21.45.0-r31.45.0-r41.46.0-r0 Show 8 more versionsShow less1.46.0-r11.46.0-r21.46.0-r31.46.0-r41.46.0-r51.46.0-r61.46.0-r71.46.0-r8 | None listed |
mongo-expressDocker Hardened Images:Alpine:3.23 | 1.0.2-r0 and later, plus listed versions 1.0.2-r11.0.2-r101.0.2-r111.0.2-r21.0.2-r3 Show 5 more versionsShow less1.0.2-r41.0.2-r51.0.2-r71.0.2-r81.0.2-r9 | None listed |
mongo-expressDocker Hardened Images:Alpine:3.24 | 1.0.2-r0 and later, plus listed versions 1.0.2-r11.0.2-r101.0.2-r111.0.2-r21.0.2-r3 Show 5 more versionsShow less1.0.2-r41.0.2-r51.0.2-r71.0.2-r81.0.2-r9 | None listed |
sorry-cypress-director-2Docker Hardened Images:Alpine:3.23 | 2.6.0-r0 and later, plus listed versions 2.6.0-r102.6.0-r22.6.0-r32.6.0-r42.6.0-r5 Show 4 more versionsShow less2.6.0-r62.6.0-r72.6.0-r82.6.0-r9 | None listed |
sorry-cypress-director-2Docker Hardened Images:Alpine:3.24 | 2.6.0-r0 and later, plus listed versions 2.6.0-r102.6.0-r22.6.0-r32.6.0-r42.6.0-r5 Show 4 more versionsShow less2.6.0-r62.6.0-r72.6.0-r82.6.0-r9 | None listed |
supabase-storageDocker Hardened Images:Alpine:3.23 | 1.74.1-r0 and later, plus listed versions 1.100.0-r01.100.1-r01.101.0-r01.101.1-r01.101.2-r0 Show 45 more versionsShow less1.101.4-r01.101.4-r11.103.2-r01.103.3-r01.104.0-r01.104.1-r01.104.2-r01.104.2-r11.104.3-r01.74.1-r11.74.1-r21.74.1-r31.84.25-r01.84.28-r01.84.32-r01.84.33-r01.84.36-r01.85.0-r01.89.12-r01.89.12-r11.89.12-r21.89.13-r01.89.13-r11.90.0-r01.90.1-r01.90.2-r01.91.0-r01.92.0-r01.94.0-r01.94.0-r11.94.2-r01.95.0-r01.95.0-r11.96.0-r01.96.1-r01.96.2-r01.96.4-r01.97.0-r01.97.1-r01.97.2-r01.97.2-r11.98.2-r01.98.4-r01.98.5-r01.98.6-r0 | None listed |
supabase-storageDocker Hardened Images:Alpine:3.24 | 1.74.1-r0 and later, plus listed versions 1.100.0-r01.100.1-r01.101.0-r01.101.1-r01.101.2-r0 Show 45 more versionsShow less1.101.4-r01.101.4-r11.103.2-r01.103.3-r01.104.0-r01.104.1-r01.104.2-r01.104.2-r11.104.3-r01.74.1-r11.74.1-r21.74.1-r31.84.25-r01.84.28-r01.84.32-r01.84.33-r01.84.36-r01.85.0-r01.89.12-r01.89.12-r11.89.12-r21.89.13-r01.89.13-r11.90.0-r01.90.1-r01.90.2-r01.91.0-r01.92.0-r01.94.0-r01.94.0-r11.94.2-r01.95.0-r01.95.0-r11.96.0-r01.96.1-r01.96.2-r01.96.4-r01.97.0-r01.97.1-r01.97.2-r01.97.2-r11.98.2-r01.98.4-r01.98.5-r01.98.6-r0 | None listed |
apicurio-registry-ui-3.2Docker Hardened Images:Debian:13 | 3.2.6-0 and later, plus listed versions 3.2.6-1 | None listed |
apicurio-registry-ui-3.3Docker Hardened Images:Debian:13 | 3.3.4-0 and later, plus listed versions 3.3.4-13.3.5-03.3.5-13.3.5-23.3.6-03.3.6-13.3.6-2 | None listed |
argocd-3.3-devDocker Hardened Images:Debian:13 | 3.3.14-1 and later, plus listed versions 3.3.14-23.3.14-33.3.14-43.3.14-53.3.14-6 Show 27 more versionsShow less3.3.14-73.3.14-83.3.14-93.3.15-03.3.15-13.3.16-03.3.16-13.3.17-03.3.17-13.3.17-23.3.18-03.3.18-13.3.18-23.3.18-33.3.18-43.3.19-03.3.19-13.3.19-103.3.19-113.3.19-23.3.19-33.3.19-43.3.19-53.3.19-63.3.19-73.3.19-83.3.19-9 | None listed |
argocd-3.3-fips-devDocker Hardened Images:Debian:13 | 3.3.19-8 and later, plus listed versions 3.3.19-103.3.19-113.3.19-9 | None listed |
argocd-3.3-fipsDocker Hardened Images:Debian:13 | 3.3.19-8 and later, plus listed versions 3.3.19-103.3.19-113.3.19-9 | None listed |
argocd-3.3Docker Hardened Images:Debian:13 | 3.3.14-1 and later, plus listed versions 3.3.14-23.3.14-33.3.14-43.3.14-53.3.14-6 Show 27 more versionsShow less3.3.14-73.3.14-83.3.14-93.3.15-03.3.15-13.3.16-03.3.16-13.3.17-03.3.17-13.3.17-23.3.18-03.3.18-13.3.18-23.3.18-33.3.18-43.3.19-03.3.19-13.3.19-103.3.19-113.3.19-23.3.19-33.3.19-43.3.19-53.3.19-63.3.19-73.3.19-83.3.19-9 | None listed |
argocd-3.4-devDocker Hardened Images:Debian:13 | 3.4.7-1 and later, plus listed versions 3.4.10-03.4.10-13.4.11-03.4.11-13.4.12-0 Show 32 more versionsShow less3.4.12-13.4.12-23.4.12-33.4.12-43.4.12-53.4.12-63.4.12-73.4.13-03.4.13-13.4.13-23.4.13-33.4.13-43.4.13-53.4.13-63.4.13-73.4.14-03.4.14-13.4.15-03.4.15-13.4.16-03.4.16-13.4.16-23.4.7-23.4.8-03.4.8-13.4.8-23.4.8-33.4.8-43.4.8-53.4.8-63.4.9-03.4.9-1 | None listed |
argocd-3.4-fips-devDocker Hardened Images:Debian:13 | 3.4.14-1 and later, plus listed versions 3.4.15-03.4.15-13.4.16-03.4.16-13.4.16-2 | None listed |
argocd-3.4-fipsDocker Hardened Images:Debian:13 | 3.4.14-1 and later, plus listed versions 3.4.15-03.4.15-13.4.16-03.4.16-13.4.16-2 | None listed |
argocd-3.4Docker Hardened Images:Debian:13 | 3.4.7-1 and later, plus listed versions 3.4.10-03.4.10-13.4.11-03.4.11-13.4.12-0 Show 32 more versionsShow less3.4.12-13.4.12-23.4.12-33.4.12-43.4.12-53.4.12-63.4.12-73.4.13-03.4.13-13.4.13-23.4.13-33.4.13-43.4.13-53.4.13-63.4.13-73.4.14-03.4.14-13.4.15-03.4.15-13.4.16-03.4.16-13.4.16-23.4.7-23.4.8-03.4.8-13.4.8-23.4.8-33.4.8-43.4.8-53.4.8-63.4.9-03.4.9-1 | None listed |
argocd-3.5-devDocker Hardened Images:Debian:13 | 3.5.1-1 and later, plus listed versions 3.5.1-23.5.10-03.5.10-13.5.10-23.5.2-0 Show 32 more versionsShow less3.5.2-13.5.2-23.5.2-33.5.2-43.5.2-53.5.3-03.5.3-13.5.4-03.5.4-13.5.5-03.5.5-13.5.6-03.5.6-13.5.6-23.5.6-33.5.6-43.5.6-53.5.6-63.5.6-73.5.7-03.5.7-13.5.7-23.5.7-33.5.7-43.5.7-53.5.7-63.5.7-73.5.7-83.5.8-03.5.8-13.5.9-03.5.9-1 | None listed |
argocd-3.5-fips-devDocker Hardened Images:Debian:13 | 3.5.8-1 and later, plus listed versions 3.5.10-03.5.10-13.5.10-23.5.9-03.5.9-1 | None listed |
argocd-3.5-fipsDocker Hardened Images:Debian:13 | 3.5.8-1 and later, plus listed versions 3.5.10-03.5.10-13.5.10-23.5.9-03.5.9-1 | None listed |
argocd-3.5Docker Hardened Images:Debian:13 | 3.5.1-1 and later, plus listed versions 3.5.1-23.5.10-03.5.10-13.5.10-23.5.2-0 Show 32 more versionsShow less3.5.2-13.5.2-23.5.2-33.5.2-43.5.2-53.5.3-03.5.3-13.5.4-03.5.4-13.5.5-03.5.5-13.5.6-03.5.6-13.5.6-23.5.6-33.5.6-43.5.6-53.5.6-63.5.6-73.5.7-03.5.7-13.5.7-23.5.7-33.5.7-43.5.7-53.5.7-63.5.7-73.5.7-83.5.8-03.5.8-13.5.9-03.5.9-1 | None listed |
directus-12Docker Hardened Images:Debian:13 | 12.4.1-0 and later, plus listed versions 12.4.1-112.4.1-212.5.0-012.5.0-112.5.0-2 Show 23 more versionsShow less12.5.1-012.5.1-112.5.1-212.5.1-312.6.0-012.6.0-112.6.0-212.6.0-312.6.0-412.6.0-512.6.0-612.6.1-012.6.1-112.6.1-212.6.1-312.6.1-412.6.1-512.7.0-012.7.0-112.7.0-212.7.0-312.7.0-412.7.0-5 | None listed |
gristDocker Hardened Images:Debian:13 | 1.7.17-0 and later, plus listed versions 1.7.17-11.7.17-21.7.17-31.7.17-41.7.17-5 Show 40 more versionsShow less1.7.17-61.7.19-21.7.19-31.7.19-41.7.19-51.7.19-61.7.20-01.7.20-101.7.20-71.7.20-81.7.20-91.7.21-01.7.21-11.7.21-21.7.21-31.7.21-41.7.21-51.7.21-61.7.21-71.7.21-81.7.21-91.7.22-11.7.22-101.7.22-111.7.22-121.7.22-131.7.22-141.7.22-151.7.22-161.7.22-21.7.22-31.7.22-41.7.22-51.7.22-61.7.22-71.7.22-81.7.22-91.7.23-01.7.23-11.7.23-2 | None listed |
homepage-1Docker Hardened Images:Debian:13 | 1.13.2-0 and later, plus listed versions 1.13.2-11.13.2-2 | None listed |
homepage-2Docker Hardened Images:Debian:13 | 2.8.0-0 and later, plus listed versions 2.8.0-12.9.1-0 | None listed |
homepageDocker Hardened Images:Debian:13 | 1.13.2-0 and later, plus listed versions 1.13.2-11.13.2-101.13.2-111.13.2-121.13.2-13 Show 41 more versionsShow less1.13.2-141.13.2-151.13.2-161.13.2-171.13.2-181.13.2-191.13.2-21.13.2-201.13.2-31.13.2-41.13.2-51.13.2-61.13.2-71.13.2-81.13.2-92.0.0-02.0.0-12.1.0-02.1.2-02.1.2-12.2.0-02.3.0-02.4.0-02.4.0-12.5.0-02.5.0-12.6.0-02.6.0-12.6.0-22.7.0-02.7.0-12.7.0-22.7.0-32.7.0-42.7.0-52.7.0-62.8.0-02.8.0-12.8.0-22.8.0-32.9.1-0 | None listed |
kibana-9.5Docker Hardened Images:Debian:13 | 9.5.5-0 and later, plus listed versions 9.5.5-19.5.5-109.5.5-119.5.5-129.5.5-2 Show 13 more versionsShow less9.5.5-39.5.5-49.5.5-59.5.5-69.5.5-79.5.5-99.5.6-09.5.6-19.5.6-29.5.6-39.5.7-09.5.7-19.5.7-2 | None listed |
kubeflow-pipelines-frontendDocker Hardened Images:Debian:13 | 2.17.0-0 and later, plus listed versions 2.17.0-12.17.0-22.17.0-32.17.0-42.17.1-0 Show 16 more versionsShow less2.17.1-12.17.2-02.17.2-12.17.2-22.17.2-32.17.2-42.17.2-52.17.3-02.18.0-02.18.0-12.18.0-22.18.1-02.18.2-02.18.2-12.18.2-22.18.3-0 | None listed |
langfuse-4Docker Hardened Images:Debian:13 | 4.3.1-0 and later, plus listed versions 4.10.0-04.11.0-04.12.0-04.13.0-04.14.0-0 Show 44 more versionsShow less4.15.0-04.26.0-04.36.1-04.38.0-04.4.0-04.41.0-04.43.0-04.44.0-04.46.0-04.47.0-04.48.0-04.5.0-04.5.0-14.50.0-04.53.0-04.6.0-04.63.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-14.72.0-14.74.0-04.75.0-04.76.0-04.76.0-14.77.0-04.78.0-04.79.0-04.79.0-14.80.0-04.80.0-14.81.0-04.82.0-04.83.0-04.84.0-04.84.0-14.86.0-04.87.0-04.88.0-04.9.0-04.90.0-0 | None listed |
langfuse-worker-3Docker Hardened Images:Debian:13 | 3.174.1-1 and later, plus listed versions 3.186.0-03.187.0-03.187.0-13.188.0-03.191.0-0 Show 45 more versionsShow less3.191.0-13.193.0-03.194.0-03.194.1-03.194.1-13.195.0-03.197.1-03.198.0-03.200.0-03.201.1-03.202.1-03.203.1-03.203.3-03.204.0-03.205.0-03.205.1-03.206.0-03.208.0-03.210.0-03.212.0-03.213.0-03.214.0-03.216.0-03.216.0-13.218.0-03.219.0-03.221.1-03.222.0-03.222.0-13.223.0-03.224.0-03.224.1-03.224.1-13.224.2-03.224.2-13.224.3-03.224.3-13.225.0-03.225.0-13.225.0-23.225.0-33.225.1-03.225.1-13.225.1-23.225.10-0 | None listed |
langfuse-worker-4Docker Hardened Images:Debian:13 | 4.13.0-0 and later, plus listed versions 4.14.0-04.15.0-04.17.0-04.19.0-04.21.0-0 Show 45 more versionsShow less4.22.0-04.24.0-04.26.0-04.27.0-04.28.0-04.28.1-04.30.0-04.31.0-04.32.0-04.33.0-04.34.0-04.35.0-04.36.0-04.36.1-04.51.0-04.53.0-04.54.0-04.55.0-04.55.0-14.63.0-04.64.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-24.74.0-04.75.0-04.75.0-14.76.0-04.77.0-04.77.0-14.78.0-04.79.0-04.80.0-04.80.0-14.81.0-04.82.0-04.82.0-14.83.0-04.84.0-04.84.0-14.86.0-04.86.0-1 | None listed |
librechat-0Docker Hardened Images:Debian:13 | 0.8.8-0 and later, plus listed versions 0.8.8-10.8.8-20.8.8-30.8.8-40.8.8-5 Show 5 more versionsShow less0.8.9-00.8.9-10.8.9-20.8.9-30.8.9-4 | None listed |
linstor-gui-1Docker Hardened Images:Debian:13 | 1.9.10-1 and later, plus listed versions 1.9.10-21.9.10-31.9.10-51.9.10-61.9.10-7 | None listed |
logto-1Docker Hardened Images:Debian:13 | 1.45.0-0 and later, plus listed versions 1.45.0-11.45.0-21.45.0-31.45.0-41.46.0-0 Show 8 more versionsShow less1.46.0-11.46.0-21.46.0-31.46.0-41.46.0-51.46.0-61.46.0-71.46.0-8 | None listed |
mongo-expressDocker Hardened Images:Debian:13 | 1.0.2-0 and later, plus listed versions 1.0.2-11.0.2-101.0.2-111.0.2-21.0.2-3 Show 5 more versionsShow less1.0.2-41.0.2-51.0.2-71.0.2-81.0.2-9 | None listed |
mongodb-mcpDocker Hardened Images:Debian:13 | 1.14.0-0 and later, plus listed versions 1.14.0-11.14.0-101.14.0-111.14.0-121.14.0-13 Show 44 more versionsShow less1.14.0-21.14.0-31.14.0-41.14.0-51.14.0-61.14.0-71.14.0-81.14.0-92.0.0-02.1.0-02.1.0-12.1.1-02.1.1-12.1.1-22.1.2-02.1.2-12.1.2-102.1.2-22.1.2-32.1.2-42.1.2-52.1.2-62.1.2-72.1.2-82.1.2-93.0.3-03.0.4-03.0.4-13.0.4-23.0.4-33.0.5-03.1.0-03.1.0-13.1.0-23.1.0-33.1.0-43.2.1-03.2.2-03.3.0-03.3.0-13.3.0-23.4.0-03.4.0-13.4.0-2 | None listed |
opensearch-dashboardsDocker Hardened Images:Debian:13 | 3.8.0-0 and later, plus listed versions 3.10.0-03.10.0-13.10.0-23.10.0-33.10.0-4 Show 11 more versionsShow less3.10.0-53.8.0-13.8.0-23.8.0-33.9.0-03.9.0-13.9.0-23.9.0-33.9.0-43.9.0-53.9.0-6 | None listed |
sorry-cypress-director-2Docker Hardened Images:Debian:13 | 2.6.0-0 and later, plus listed versions 2.6.0-102.6.0-22.6.0-32.6.0-42.6.0-5 Show 4 more versionsShow less2.6.0-62.6.0-72.6.0-82.6.0-9 | None listed |
supabase-storageDocker Hardened Images:Debian:13 | 1.74.1-0 and later, plus listed versions 1.100.0-01.100.1-01.101.0-01.101.1-01.101.2-0 Show 45 more versionsShow less1.101.4-01.101.4-11.103.2-01.103.3-01.104.0-01.104.1-01.104.2-01.104.2-11.104.3-01.79.30-01.79.30-11.79.30-21.84.25-01.84.28-01.84.32-01.84.33-01.84.36-01.84.36-11.85.0-01.89.12-01.89.12-11.89.12-21.89.13-01.89.13-11.90.0-01.90.1-01.90.2-01.91.0-01.92.0-01.94.0-01.94.2-01.94.2-11.95.0-01.95.0-11.96.0-01.96.1-01.96.2-01.96.4-01.97.0-01.97.1-01.97.2-01.97.2-11.98.2-01.98.4-01.98.5-0 | None listed |
supabase-studioDocker Hardened Images:Debian:13 | 2026.08.03-0 and later, plus listed versions 2026.09.07-02026.09.07-12026.09.07-22026.09.07-42026.09.07-5 Show 11 more versionsShow less2026.10.12-02026.10.12-12026.10.12-22026.11.02-02026.11.02-12026.11.02-22026.11.02-32026.11.02-42026.11.02-52026.11.02-62026.11.23-0 | None listed |
supersetDocker Hardened Images:Debian:13 | 6.1.0-0 and later, plus listed versions 6.1.0-16.1.0-106.1.0-116.1.0-126.1.0-13 Show 41 more versionsShow less6.1.0-146.1.0-156.1.0-166.1.0-176.1.0-186.1.0-196.1.0-26.1.0-206.1.0-216.1.0-226.1.0-236.1.0-246.1.0-256.1.0-266.1.0-276.1.0-286.1.0-296.1.0-36.1.0-306.1.0-316.1.0-326.1.0-336.1.0-346.1.0-356.1.0-366.1.0-376.1.0-386.1.0-396.1.0-46.1.0-406.1.0-416.1.0-426.1.0-436.1.0-446.1.0-456.1.0-466.1.0-56.1.0-66.1.0-76.1.0-86.1.0-9 | None listed |
uptime-kuma-1Docker Hardened Images:Debian:13 | 1.23.17-0 and later, plus listed versions 1.23.17-11.23.17-111.23.17-121.23.17-21.23.17-3 Show 6 more versionsShow less1.23.17-41.23.17-51.23.17-61.23.17-71.23.17-81.23.17-9 | None listed |
uptime-kuma-2Docker Hardened Images:Debian:13 | 2.5.0-0 and later, plus listed versions 2.5.0-12.5.0-22.5.10-02.5.11-02.5.11-1 Show 15 more versionsShow less2.5.11-22.5.11-32.5.12-02.5.13-02.5.13-12.5.3-02.5.3-12.5.4-02.5.5-02.5.5-12.5.6-02.5.7-02.5.7-12.5.9-02.5.9-1 | None listed |
node-webfontUbuntu:24.04:LTS | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-7ubuntu1 | None listed |
node-webfontUbuntu:26.10 | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-1811.4.0+dfsg2+~cs35.7.26-19 | None listed |
node-webfontUbuntu:26.04:LTS | All versions, plus listed versions 11.4.0+dfsg2+~cs35.7.26-13ubuntu211.4.0+dfsg2+~cs35.7.26-1411.4.0+dfsg2+~cs35.7.26-1511.4.0+dfsg2+~cs35.7.26-16build111.4.0+dfsg2+~cs35.7.26-18 | None listed |
The JSON record also has 52 more versions.
Products 1
Sources
CVE List Score usedCVSS 3.15.3
fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
CVE-2026-141469- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-1333
- Updated
- 2026-12-01
EUVDEUVD-2026-140536CVSS 3.15.3
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
EUVD-2026-140536- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-12-01
GitHub AdvisoriesGHSA-7cfw-w2rf-f3jcCVSS 3.15.3
fast-xml-parser: Quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
Summary
Reported by Nikhil Agrawal, Mettle Labs; reproduced only against a clean local install of fast-xml-parser@5.11.2 on their own machine. scanAttributeTokens in src/validator.js rescans a leading-whitespace run on every loop iteration when it hits a stray =, giving Theta(n^2) time. A few-hundred-KB input stalls the event loop for tens of seconds. Reachable on the default path via both XMLValidator.validate(xml) and new XMLParser().parse(xml, true), no non-default options.
Details
src/validator.js, scanAttributeTokens — on a = with no attribute name before it, i is reset to one past the token start, not past the =, so the leading-whitespace scan repeats:
function scanAttributeTokens(attrStr) {
const tokens = [];
const len = attrStr.length;
let i = 0;
while (i < len) {
const tokenStart = i;
// Leading whitespace before the name.
while (i < len && isWhiteSpace(attrStr[i])) i++;
if (i >= len) break;
if (attrStr[i] === '=') {
// No name before this '=' — not a valid attribute start.
i = tokenStart + 1; // <-- rewinds to tokenStart+1, NOT past the '=' -> re-scans the whitespace
continue;
}
...
For an attribute string of the shape <whitespace run> =, each outer iteration advances tokenStart by one but re-walks the entire remaining whitespace run up to the =, so total work is quadratic in the run length. It is reached whenever an element's attribute section is scanned, which both XMLValidator.validate() and XMLParser.parse(xml, true) (validation enabled) do on the default path. (This scanner is a recent regex -> hand-scanner rewrite; the quadratic rescan is in the rewrite.)
Proof of concept
A few-hundred-KB document hangs the validator. Runnable against a clean npm i fast-xml-parser@5.11.2
(Node >= 18):
// poc-fxp-quadratic.mjs
import { XMLValidator, XMLParser } from "fast-xml-parser";
for (const n of [20000, 40000, 80000, 160000]) {
const xml = "<a " + " ".repeat(n) + "=>"; // <element><whitespace run>= -> stray '='
const t0 = process.hrtime.bigint();
XMLValidator.validate(xml); // path 1: validate()
const ms = Number(process.hrtime.bigint() - t0) / 1e6;
console.log(`validate n=${n} ${ms.toFixed(0)} ms`);
}
// path 2: XMLParser.parse(xml, true) hits the same scanner
const big = "<a " + " ".repeat(200000) + "=>";
const t0 = process.hrtime.bigint();
try { new XMLParser().parse(big, true); } catch (_) {}
console.log(`parse(.,true) n=200000 ${(Number(process.hrtime.bigint() - t0) / 1e6).toFixed(0)} ms`);
Measured on fast-xml-parser@5.11.2 (unpatched): n=20k -> 461 ms, 40k -> 1755 ms, 80k -> 7108 ms, 160k -> 29847 ms (~4x per 2x length = quadratic); 200k -> ~45 s. A ~200 KB request stalls the event loop ~45 s.
Impact
A single few-hundred-KB document sent to any service that validates or parses (with validation) attacker-controlled XML via fast xml-parser stalls the Node event loop for tens of seconds — a remote denial of service on the most-installed XML parser for Node, on the default code path.
- Record
GHSA-7cfw-w2rf-f3jc- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-1333
- Updated
- 2026-12-02
NVDCVSS 3.15.3
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
CVE-2026-141469- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-400, CWE-1333
- Updated
- 2026-12-01
OSVCVSS 3.15.3
fast-xml-parser: quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
CVE-2026-141469- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-1333, CWE-400
- Updated
- 2026-12-02
OSVDEBIAN-CVE-2026-141469CVSS 3.15.3
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
DEBIAN-CVE-2026-141469- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-12-02
Show 4 more recordsShow less
OSVDHI-mni3-2oxh-qntk-waluCVSS 3.15.3
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version…
fast-xml-parser allows users to process XML from JS object without C/C++ based libraries or callbacks. Prior to version 5.12.1, scanAttributeTokens in src/validator.js resets its cursor to one position after the token start when a leading-whitespace run ends in a stray equals sign. Each loop iteration rescans most of the remaining whitespace, producing quadratic processing time for attacker-controlled XML. The default path is reachable through XMLValidator.validate(xml) and through new XMLParser().parse(xml, true) when validation is enabled, allowing a document of a few hundred kilobytes to block the Node.js event loop for tens of seconds and deny service. This issue affects availability only. This issue is fixed in version 5.12.1.
- Record
DHI-mni3-2oxh-qntk-walu- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-12-05
OSVGHSA-7cfw-w2rf-f3jcCVSS 3.15.3
fast-xml-parser: Quadratic-time (ReDoS-class) denial of service in XMLValidator attribute scanner, default options
Summary
Reported by Nikhil Agrawal, Mettle Labs; reproduced only against a clean local install of fast-xml-parser@5.11.2 on their own machine. scanAttributeTokens in src/validator.js rescans a leading-whitespace run on every loop iteration when it hits a stray =, giving Theta(n^2) time. A few-hundred-KB input stalls the event loop for tens of seconds. Reachable on the default path via both XMLValidator.validate(xml) and new XMLParser().parse(xml, true), no non-default options.
Details
src/validator.js, scanAttributeTokens — on a = with no attribute name before it, i is reset to one past the token start, not past the =, so the leading-whitespace scan repeats:
function scanAttributeTokens(attrStr) {
const tokens = [];
const len = attrStr.length;
let i = 0;
while (i < len) {
const tokenStart = i;
// Leading whitespace before the name.
while (i < len && isWhiteSpace(attrStr[i])) i++;
if (i >= len) break;
if (attrStr[i] === '=') {
// No name before this '=' — not a valid attribute start.
i = tokenStart + 1; // <-- rewinds to tokenStart+1, NOT past the '=' -> re-scans the whitespace
continue;
}
...
For an attribute string of the shape <whitespace run> =, each outer iteration advances tokenStart by one but re-walks the entire remaining whitespace run up to the =, so total work is quadratic in the run length. It is reached whenever an element's attribute section is scanned, which both XMLValidator.validate() and XMLParser.parse(xml, true) (validation enabled) do on the default path. (This scanner is a recent regex -> hand-scanner rewrite; the quadratic rescan is in the rewrite.)
Proof of concept
A few-hundred-KB document hangs the validator. Runnable against a clean npm i fast-xml-parser@5.11.2
(Node >= 18):
// poc-fxp-quadratic.mjs
import { XMLValidator, XMLParser } from "fast-xml-parser";
for (const n of [20000, 40000, 80000, 160000]) {
const xml = "<a " + " ".repeat(n) + "=>"; // <element><whitespace run>= -> stray '='
const t0 = process.hrtime.bigint();
XMLValidator.validate(xml); // path 1: validate()
const ms = Number(process.hrtime.bigint() - t0) / 1e6;
console.log(`validate n=${n} ${ms.toFixed(0)} ms`);
}
// path 2: XMLParser.parse(xml, true) hits the same scanner
const big = "<a " + " ".repeat(200000) + "=>";
const t0 = process.hrtime.bigint();
try { new XMLParser().parse(big, true); } catch (_) {}
console.log(`parse(.,true) n=200000 ${(Number(process.hrtime.bigint() - t0) / 1e6).toFixed(0)} ms`);
Measured on fast-xml-parser@5.11.2 (unpatched): n=20k -> 461 ms, 40k -> 1755 ms, 80k -> 7108 ms, 160k -> 29847 ms (~4x per 2x length = quadratic); 200k -> ~45 s. A ~200 KB request stalls the event loop ~45 s.
Impact
A single few-hundred-KB document sent to any service that validates or parses (with validation) attacker-controlled XML via fast xml-parser stalls the Node event loop for tens of seconds — a remote denial of service on the most-installed XML parser for Node, on the default code path.
- Record
GHSA-7cfw-w2rf-f3jc- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-1333, CWE-400
- Updated
- 2026-12-02
OSVCLSA-2026-1796208976No score
TuxCare security update for fast-xml-parser (1 CVE)
TuxCare rebuilt fast-xml-parser to address 1 CVE. Fixed in 5.11.2-tuxcare.3.
- Record
CLSA-2026-1796208976- Updated
- 2026-12-03
OSVUBUNTU-CVE-2026-141469No score
(fast-xml-parser allows users to process XML from JS object without C/C ...)
- Record
UBUNTU-CVE-2026-141469- Updated
- 2026-12-03
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| References | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages | OSV | |
| Affected packages, other IDs, references | OSV | |
| Affected packages, references | OSV | |
| Affected packages, key facts, references | GitHub Advisories | |
| Other IDs, references | NVD, OSV | |
| Other IDs, published date | EUVD | |
| Key facts, references | CVE List | |
| First indexed | CVE List |
Upstream dates may differ.
References
github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc
github.com/NaturalIntelligence/fast-xml-parser/commit/4a1623bc23c011fd5ea0b72c21b00f3109688e6c
github.com/NaturalIntelligence/fast-xml-parser/releases/tag/v5.12.1
nvd.nist.gov/vuln/detail/CVE-2026-141469
github.com/advisories/GHSA-7cfw-w2rf-f3jc
github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141469.json
security-tracker.debian.org/tracker/CVE-2026-141469
scout.docker.com/v/DHI-mni3-2oxh-qntk-walu