{"id":"CVE-2024-41818","aliases":["CVE-2024-41818","GHSA-mpg4-rc92-vx8v"],"related":[],"kind":"vulnerability","state":"published","title":"ReDOS at currency parsing fast-xml-parser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\nA ReDOS that exists on currency.js was discovered by Gauss Security Labs R&D team.\n\n### Details\nhttps://github.com/NaturalIntelligence/fast-xml-parser/blob/v4.4.0/src/v5/valueParsers/currency.js#L10 contains a vulnerable regex \n\n### PoC\npass the following string '\\t'.repeat(13337)  + '.'\n\n### Impact\nDenial of service during currency parsing in experimental version 5 of fast-xml-parser-library\n\nhttps://gauss-security.com","format":"markdown","source":"ghsa"},{"lang":"es","text":"fast-xml-parser es un analizador xml de JavaScript puro de código abierto. Existe un ReDOS en currency.js. Esta vulnerabilidad se soluciona en 4.4.1.","source":"nvd"}],"published":"2024-07-29T15:56:38.999Z","modified":"2026-09-10T03:50:16.865Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":">= 4.3.5, < 4.4.1","status":"affected"}],"vendor":"NaturalIntelligence","product":"fast-xml-parser","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.4.1","status":"affected"}],"vendor":"naturalintelligence","product":"fast_xml_parser","cpe":"cpe:2.3:a:naturalintelligence:fast_xml_parser:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.3.5","status":"affected","fixed":"4.4.1"}],"ecosystem":"npm","package":"fast-xml-parser","purl":"pkg:npm/fast-xml-parser","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.2.4"}],"vendor":"naturalintelligence","product":"fast-xml-parser","cpe":"cpe:2.3:a:naturalintelligence:fast-xml-parser:4.2.4:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-mpg4-rc92-vx8v","tags":["exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/ba5f35e7680468acd7906eaabb2f69e28ed8b2aa","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/commit/d0bfe8a3a2813a185f39591bbef222212d856164","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/src/v5/valueParsers/currency.js#L10","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41818","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/NaturalIntelligence/fast-xml-parser","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-07-30T17:31:10.641Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41818","url":"https://www.cve.org/CVERecord?id=CVE-2024-41818","licence":"CVE Terms of Use","modified":"2024-10-11T14:13:27.572Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mpg4-rc92-vx8v","url":"https://github.com/advisories/GHSA-mpg4-rc92-vx8v","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.865Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41818","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41818","licence":"Public domain","modified":"2026-06-17T07:48:17.390Z"}],"updatedAt":"2026-11-25T22:58:43.332Z","epss":{"score":0.00828,"percentile":0.58614,"date":"2026-12-01T12:00:22.000Z"}}