Description
A vulnerability was discovered in IS-SVG version 4.3.1 and below where a Regular Expression Denial of Service (ReDOS) occurs if the application is provided and checks a crafted invalid SVG string.
Recommendation
Update the is-svg package to the latest compatible version. Followings are version details:
- Affected version(s): >= 2.1.0, < 4.3.0
- Patched version(s): 4.3.0
References
Related Issues
- Regular Expression Denial of Service (ReDoS) - CVE-2021-28092
- Regular Expression Denial of Service (ReDOS) - color-string - CVE-2021-29060
- Regular Expression Denial of Service (REDoS) in Marked - CVE-2021-21306
- semver-regex Regular Expression Denial of Service (ReDOS) - CVE-2021-3795
You might also like:
- Tags:
- npm
- is-svg
Anything's wrong? Let us know Last updated on February 01, 2023


