{"id":"CVE-2021-29059","details":"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.","aliases":["GHSA-r8j5-h5cx-65gg"],"modified":"2026-04-02T06:49:13.847135Z","published":"2021-06-21T16:15:08.080Z","references":[{"type":"WEB","url":"https://www.npmjs.com/package/is-svg"},{"type":"ADVISORY","url":"https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js"},{"type":"ADVISORY","url":"https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0"},{"type":"FIX","url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sindresorhus/is-svg","events":[{"introduced":"f681396a3fb6451558e9c49b72340f0ce92e308c"},{"fixed":"5faec9e56a57b2f5a551fc287b87b9f9fa5fe455"}],"database_specific":{"versions":[{"introduced":"2.1.0"},{"fixed":"4.3.0"}]}}],"versions":["v2.1.0","v3.0.0","v4.0.0","v4.1.0","v4.2.0","v4.2.1","v4.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29059.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}