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.
https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js
https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0
https://www.npmjs.com/package/is-svg
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md
Source: Mitre, NVD
Published: 2021-06-21
Updated: 2026-06-17
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Severity: High
EPSS: 0.02786