CVE-2024-41818
HIGH 7.5CVSS 3.1fast-xml-parser vulnerable to ReDOS at currency parsing
fast-xml-parser is an open source, pure javascript xml parser. a ReDOS exists on currency.js. This vulnerability is fixed in 4.4.1.
- Published
- 29 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333CWE-400
- Also known as
- GHSA-mpg4-rc92-vx8v
- Sources
- NVDJSONOSV GHSA-mpg4-rc92-vx8vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | naturalintelligence | fast-xml-parsercpe:2.3:a:naturalintelligence:fast-xml-parser:4.2.4:*:*:*:*:*:*:* |
= 4.2.4 | |
| OSV | npm | fast-xml-parser | >= 4.3.5, < 4.4.1 | 4.4.1 |
References
- https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10 · Issue Tracking, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa · WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/commit/d0bfe8a3a2813a185f39591bbef222212d856164 · Patch, WEB
- https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-mpg4-rc92-vx8v · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41818 · ADVISORY
- https://github.com/NaturalIntelligence/fast-xml-parser · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Jul 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jul 2024)