Open-source package vulnerability · npm
CVE-2025-45143: string-math's string-math.js vulnerability can cause Regex Denial of Service (ReDoS)
lowCVSS 3.1 3.7GHSA-994j-5c83-r424
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
Published Jun 30, 2025
Affected packages
string-math
- Ecosystem
- npm
- Affected
- <= 1.2.2
- Fixed in
- No patched version yet
- Check
npm ls string-math
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
string-math v1.2.2 was discovered to contain a Regex Denial of Service (ReDoS) which is exploited via a crafted input.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
