CVEvulnerability
CVE-2021-29059
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-06-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-770
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.
Affected configurations
• is-svg project is-svg (>= 2.1.0 < 4.3.0)
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0 Release Notes, Third Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md Exploit, Patch, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js Third Party Advisory
- https://www.npmjs.com/package/is-svg Product
- https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0 Release Notes, Third Party Advisory
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md Exploit, Patch, Third Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js Third Party Advisory
- https://www.npmjs.com/package/is-svg Product