SecurityContext

CVE-2021-29059: IS-SVG - Regular Expression Denial of Service

  • Cve: CVE-2021-29059
  • Name: IS-SVG - Regular Expression Denial of Service
  • 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.
  • Impact: Attackers can cause denial of service by triggering excessive regex processing, leading to application slowdown or crash.
  • Remediation: Update to the latest version beyond 4.2.2 or apply patches that fix the regex processing issue.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.02629
  • Epss percentile: 0.85893
  • Assignee: [email protected]
  • Published at: 2021-06-21T16:15:08Z
  • Age in days: 1982
  • Modified at: 2026-06-17T03:47:12Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29059
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-770Allocation of Resources Without Limits or Throttling

Public exploits

UrlSourceAdded date
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdnvd2021-06-21

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.mdExploit, Patch, Third Party Advisory
https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0Release Notes, Third Party Advisory
https://github.com/yetingli/SaveResults/blob/main/js/is-svg.jsThird Party Advisory
https://www.npmjs.com/package/is-svgProduct

Products

ProductAffectedPlatform boundSourcesUrl
is-svg_project:is-svg>= 2.1.0, < 4.3.0nonvd/v1/products/is-svg_project/is-svg

Projects

RepositoryLink kindsIndexedUrl
sindresorhus/is-svgcommit, package, releasesyes/v1/repositories/sindresorhus/is-svg

Index

  • Repositories: 182
  • Repositories high signal: 12
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-06-21
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts