Affected versions
npmstring-math
- Affected versions
- <= 1.2.2
- Fixed version
- Not reported
Exploitation
Description
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
Links
- https://gist.github.com/6en6ar/361608bccedb808061359481fe2f1b39
- https://github.com/advisories/GHSA-994j-5c83-r424
- https://github.com/devrafalko/string-math
- https://github.com/devrafalko/string-math/blob/master/string-math.js
- https://nvd.nist.gov/vuln/detail/CVE-2025-45143
- https://www.npmjs.com/package/string-math%2C

