CVE Explorer
CVE-2026-27942
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. Prior to version 5.3.8, the application crashes with stack overflow when user use XML builder with `preserveOrder:true`. Version 5.3.8 fixes the issue. As a workaround, use XML builder with `preserveOrder:false` or check the input data before passing to builder.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"fast-xml-parser","vendor":"NaturalIntelligence","versions":[{"status":"affected","version":"< 5.3.8"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":2.7,"baseSeverity":"LOW","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-120","description":"CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a","tags":["x_refsource_MISC"],"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/c13a961910f14986295dd28484eee830fa1a0e8a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/references/2
{"name":"https://github.com/NaturalIntelligence/fast-xml-parser/pull/791","tags":["x_refsource_MISC"],"url":"https://github.com/NaturalIntelligence/fast-xml-parser/pull/791"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/references/1
{"name":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3","tags":["x_refsource_CONFIRM"],"url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-fj3w-jwp8-x2g3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0ef2773bd9f56e143e293a0cbd64d854bd4f030d1e8741ff11e8111a8e0cc071 · sha256:b128f4cb260659bb… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.