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.
References (4)
Core 4
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/sindresorhus/is-svg/releases
Product x_refsource_misc
https://www.npmjs.com/package/is-svg
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210513-0008/
Scores
CVSS v3
7.5
EPSS
0.0030
EPSS Percentile
53.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-1333
Status
published
Products (2)
is-svg_project/is-svg
2.1.0 - 4.2.1
npm/is-svg
2.1.0 - 4.2.2npm
Published
Mar 12, 2021
Tracked Since
Feb 18, 2026