{"id":"CVE-2021-29059","aliases":["CLSA-2026-1775003203","EUVD-2021-2579","GHSA-r8j5-h5cx-65gg","ROOT-APP-NPM-CVE-2021-29059"],"status":"published","title":"ReDOS in IS-SVG","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.02629,"percentile":0.85619,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-770"],"published":"2021-06-21T15:49:24Z","modified":"2026-10-20T10:54:36Z","fixes":[{"ecosystem":"npm","package":"is-svg","fixed_in":["4.3.0"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"is-svg","fixed_in":["3.0.0-aikido.2","2.1.0-aikido.2"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@rootio/is-svg","fixed_in":["3.0.0-root.io.2","2.1.0-root.io.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"is-svg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"4.3.0"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"is-svg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0-tuxcare.0"},{"fixed":"2.1.0-tuxcare.1"}]}],"versions":["2.1.0"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"is-svg","ranges":[{"type":"SEMVER","events":[{"introduced":"2.1.0"},{"fixed":"4.3.0"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"is-svg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0-aikido.2"},{"fixed":"2.1.0-aikido.2"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/is-svg","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.0-root.io.2"},{"fixed":"2.1.0-root.io.2"}]}]}],"products":[{"vendor":"is-svg_project","product":"is-svg"}],"references":[{"url":"https://www.npmjs.com/package/is-svg","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/yetingli/SaveResults/blob/main/js/is-svg.js","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/sindresorhus/is-svg/releases/tag/v4.3.0","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29059/IS-SVG.md","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29059","tags":["advisory"]},{"url":"https://github.com/sindresorhus/is-svg/commit/732fc72779840c45a30817d3fe28e12058592b02","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r8j5-h5cx-65gg"},{"url":"https://github.com/sindresorhus/is-svg","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-29059","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.","status":"published","published":"2021-06-21T15:49:24Z","modified":"2024-08-03T21:55:12.666Z","updated_at":"2026-11-02T14:33:06.658806Z"}],"euvd":[{"id":"EUVD-2021-2579","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.","status":"published","published":"2021-06-21T15:49:24Z","modified":"2024-08-03T21:55:12Z","updated_at":"2026-11-03T03:24:45.541615Z"}],"ghsa":[{"id":"GHSA-r8j5-h5cx-65gg","title":"ReDOS in IS-SVG","description":"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.","status":"published","published":"2021-12-10T19:02:37Z","modified":"2023-02-01T05:05:59Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:36:36.66596Z"}],"nvd":[{"id":"CVE-2021-29059","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.","status":"published","published":"2021-06-21T16:15:08.08Z","modified":"2026-06-17T03:47:12.977Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"CVE-2021-29059","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.","status":"published","published":"2021-06-21T16:15:08.08Z","modified":"2026-10-20T10:54:36.709205457Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.129331Z"},{"id":"GHSA-r8j5-h5cx-65gg","title":"ReDOS in IS-SVG","description":"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.","status":"published","published":"2021-12-10T19:02:37Z","modified":"2023-11-08T04:05:32.612152Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-770"],"updated_at":"2026-11-02T15:46:55.480549Z"},{"id":"CLSA-2026-1775003203","title":"TuxCare security update for is-svg (2 CVEs)","description":"TuxCare rebuilt is-svg to address 2 CVEs. Fixed in 2.1.0-tuxcare.1.","status":"published","published":"2026-08-04T14:52:19Z","modified":"2026-10-15T09:47:49.283808744Z","updated_at":"2026-11-02T15:43:44.009773Z"},{"id":"ROOT-APP-NPM-CVE-2021-29059","title":"CVE-2021-29059 in is-svg - Patched by Root","description":"Root has patched CVE-2021-29059 in the is-svg package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-09-01T09:53:34Z","modified":"2026-09-01T11:30:04.580700591Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
