HIGH7.5
GHSA-x5pg-88wf-qq4p
Regular Expression Denial of Service in marked
Quick fix
GHSA-x5pg-88wf-qq4p — marked: upgrade to the fixed version with the command below.
npm install marked@0.3.9Details
Affected versions of `marked` are vulnerable to a regular expression denial of service.
The amplification in this vulnerability is significant, with 1,000 characters resulting in the event loop being blocked for around 6 seconds.
## Recommendation
Update to version 0.3.9 or later.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/marked"]}'