CVE-2021-29059
ReDOS in IS-SVG
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2021-29059- CVSS 3.1
- 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
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-770
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-29059- Updated
- 2026-11-02
EUVDEUVD-2021-2579 No score
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.
- Record
EUVD-2021-2579- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r8j5-h5cx-65gg
7.5
ReDOS in IS-SVG
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.
- Record
GHSA-r8j5-h5cx-65gg- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2021-29059- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-r8j5-h5cx-65gg
7.5
ReDOS in IS-SVG
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.
- Record
GHSA-r8j5-h5cx-65gg- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-770
- Updated
- 2026-11-02
OSVCLSA-2026-1775003203 No score
TuxCare security update for is-svg (2 CVEs)
TuxCare rebuilt is-svg to address 2 CVEs. Fixed in 2.1.0-tuxcare.1.
- Record
CLSA-2026-1775003203- Updated
- 2026-11-02
OSVROOT-APP-NPM-CVE-2021-29059 No score
CVE-2021-29059 in is-svg - Patched by Root
Root has patched CVE-2021-29059 in the is-svg package for Root:npm. Multiple fixed versions available.
- Record
ROOT-APP-NPM-CVE-2021-29059- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
is-svgnpm |
2.1.0 up to 4.3.0 | 4.3.0 |
is-svgTuxCare:npm From an advisory covering 2 CVEs |
2.1.0-tuxcare.0 up to 2.1.0-tuxcare.1, plus listed versions 2.1.0 |
2.1.0-tuxcare.1 |
is-svgRoot:npm |
before 3.0.0-aikido.2 | 3.0.0-aikido.22.1.0-aikido.2 |
@rootio/is-svgRoot:npm |
before 3.0.0-root.io.2 | 3.0.0-root.io.22.1.0-root.io.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-29059 is a high vulnerability (CVSS 7.5) in Is-svg Project Is-svg, published June 21, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.63%, the 85th percentile. Fixed in is-svg 4.3.0.
References
npmjs.com/package/is-svg
github.com/yetingli/SaveResults/blob/main/js/is-svg.js
github.com/sindresorhus/is-svg/releases/tag/v4.3.0
github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md
nvd.nist.gov/vuln/detail/CVE-2021-29059
github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02
github.com/advisories/GHSA-r8j5-h5cx-65gg
github.com/sindresorhus/is-svg