CVE-2021-29059Is-svg Project Is-svg
High 7.5 No auth needed
Follow: this CVE · Is-svg Project · Is-svg Project Is-svg We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jun 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Is-svg.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | is-svg |
≥ 2.1.0 < 4.3.0 |
4.3.0 |
npm install is-svg@4.3.0 |
Per OSV / GitHub Advisories (GHSA-r8j5-h5cx-65gg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| is-svg_project | is-svg | ≥ 2.1.0 < 4.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- github.com Third Party Advisory
- www.npmjs.com Product