{"id":"CVE-2021-29059","published":"2021-06-21T15:49:24Z","modified":"2024-08-03T21:55:12Z","title":"A vulnerability was discovered in IS-SVG version 2.1.0 to 4.2.2 and below where a Regular Expression Denial of Service…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02629,"percentile":0.85877,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.npmjs.com/package/is-svg","tags":["x_refsource_MISC"]},{"url":"https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js","tags":["x_refsource_MISC"]},{"url":"https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md","tags":["x_refsource_MISC"]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":17.18},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"npm","package":"is-svg","vulnerableRanges":[">=2.1.0, <4.3.0"],"patched":["4.3.0"],"from":["GHSA-r8j5-h5cx-65gg"],"provenance":"source"}],"summary":{"text":"A regular expression denial-of-service flaw exists in the IS-SVG library, the component that checks SVG strings in applications that use it. An attacker who can supply a crafted, invalid SVG string to an application that validates it can trigger a ReDoS condition, causing the validation process to consume excessive resources; no authentication or user interaction is described beyond the application accepting and checking that input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:26Z"},"euvd":{"id":"EUVD-2021-2579","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md"],"lineage":{"familyId":"fam-is-svg-cve-2021-28092","parents":[{"from":"CVE-2021-28092","to":"CVE-2021-29059","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:is-svg","fromFixed":"4.2.2","toFixed":"4.3.0","daysApart":101},{"kind":"same-code","provenance":"machine","files":["index.js","test.js"],"commits":["https://github.com/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b","https://github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02"],"basis":"shared function","functions":["test"]},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-28092","published":"2021-03-12","fixed":"4.2.2","kev":false},{"cve":"CVE-2021-29059","published":"2021-06-21","fixed":"4.3.0","kev":false}],"package":"npm:is-svg"}}