{"id":"CVE-2021-28092","aliases":["CVE-2021-28092","GHSA-7r28-3m3f-r2pr"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS)","summary":"The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.","source":"cvelist"},{"lang":"en","text":"The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete is-svg versiones 2.1.0 hasta 4.2.1 para Node.js, usa una expresión regular que es vulnerable a una Denegación de Servicio de Expresión Regular (ReDoS).&#xa0;Si un atacante proporciona una cadena maliciosa, is-svg se bloqueará al procesar la entrada durante mucho tiempo","source":"nvd"}],"published":"2021-03-12T21:31:35.000Z","modified":"2026-06-17T03:45:47.960Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"4.2.2"}],"ecosystem":"npm","package":"is-svg","purl":"pkg:npm/is-svg","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.1.0","lastAffected":"4.2.1"}],"vendor":"is-svg_project","product":"is-svg","cpe":"cpe:2.3:a:is-svg_project:is-svg:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sindresorhus/is-svg/releases","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/is-svg","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20210513-0008/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28092","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210513-0008","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-28092","url":"https://www.cve.org/CVERecord?id=CVE-2021-28092","licence":"CVE Terms of Use","modified":"2024-08-03T21:33:17.358Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7r28-3m3f-r2pr","url":"https://github.com/advisories/GHSA-7r28-3m3f-r2pr","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:28.214Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-28092","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28092","licence":"Public domain","modified":"2026-06-17T03:45:47.960Z"}],"updatedAt":"2026-11-25T22:58:00.285Z","epss":{"score":0.02027,"percentile":0.8158,"date":"2026-12-01T12:00:22.000Z"}}