NaturalIntelligence/strnum
String to Number based on configuration
- JavaScript
- MIT
- 9 stars
1 report
- medium
GHSA-w2f6-j622-j3mgQuadratic-time ReDoS in toNumber() for decimals with a long internal zero-run
A number with a long run of zeros in the middle takes seconds to parse, enough for one small XML body to freeze a Node app using fast-xml-parser.