All reports
High

fast-xml-parser vulnerable to ReDOS at currency parsing

Affected versions

Affected versions
>= 4.3.5, < 4.4.1
Fixed version
4.4.1
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-41818

Probability of exploitation in the next 30 days: 0.83%

FIRST EPSS · 2026-11-22

Description

Summary

A ReDOS that exists on currency.js was discovered by Gauss Security Labs R&D team.

Details

https://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10 contains a vulnerable regex

PoC

pass the following string '\t'.repeat(13337) + '.'

Impact

Denial of service during currency parsing in experimental version 5 of fast-xml-parser-library

https://gauss-security.com

Links

Credits

  • Gauss-Security
  • amitguptagwl
  • iamvolvo
  • aaron-belenky