GitHub Advisory Database
GHSA-q75g-2496-mxpp
Regular Expression Denial of Service in parsejson
Details
Affected versions of parsejson are vulnerable to a regular expression denial of service when parsing untrusted user input.
Recommendation
The parsejson package has not been functionally updated since it was initially released.
Additionally, it provides functionality which is natively included in Node.js, and therefore the native JSON.parse() should be used, for both performance and security reasons.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | parsejson | All versions up to and including 0.0.3 |