Description
A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
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/releases/tag/v4.3.0Release Notes, Third Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdExploit, Patch, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.jsThird Party Advisory
- https://www.npmjs.com/package/is-svgProduct
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0Release Notes, Third Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdExploit, Patch, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.jsThird Party Advisory
- https://www.npmjs.com/package/is-svgProduct
Timeline
- Published
- Jun 21, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified