MEDIUM5.3
GHSA-qgmg-gppg-76g5
Inefficient Regular Expression Complexity in validator.js
Quick fix
GHSA-qgmg-gppg-76g5 — validator: upgrade to the fixed version with the command below.
npm install validator@13.7.0Details
validator.js prior to 13.7.0 is vulnerable to Inefficient Regular Expression Complexity
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/validator"]}'