Description
The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/sindresorhus/is-svg/releasesRelease Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/Third Party Advisory
- https://www.npmjs.com/package/is-svgProduct
- https://github.com/sindresorhus/is-svg/releasesRelease Notes, Third Party Advisory
- https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2Release Notes, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0008/Third Party Advisory
- https://www.npmjs.com/package/is-svgProduct
Timeline
- Published
- Mar 12, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified