CVE-2021-29059
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.63%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 2.63% probability · 85th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-770
- Affected
- is-svg project/is-svg
- Source
- cve@mitre.org
EPSS 2.6% since 27 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.