Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-29059

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-29059
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:43 UTC · Revision 1

Source evidence

CVE-2021-29059

core-osv · Original source

Published 21 Jun 2021, 16:15 UTC

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.

osv:CVE-2021-29059
Complete source record
{
  "id": "3f2a20270207db0de538cbd6b149a50a735c6601fe82b910fdfb4544de9c292c",
  "url": "https://osv.dev/vulnerability/CVE-2021-29059",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-29059",
    "summary": "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.",
    "evidence": "osv:CVE-2021-29059",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-29059",
      "aliases": [
        "CVE-2021-29059",
        "GHSA-r8j5-h5cx-65gg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sindresorhus/is-svg",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f681396a3fb6451558e9c49b72340f0ce92e308c"
                },
                {
                  "fixed": "5faec9e56a57b2f5a551fc287b87b9f9fa5fe455"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:is-svg_project:is-svg:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "4.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5faec9e56a57b2f5a551fc287b87b9f9fa5fe455"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.3.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.0",
            "v4.0.0",
            "v3.0.0",
            "v2.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29059.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:36.709205457Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/is-svg",
        "https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0",
        "https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js",
        "https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-29059",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385723,
  "published_at": "2021-06-21T16:15:08.08+00:00"
}