{"id":"CVE-2020-26302","details":"is.js is a general-purpose check library. Versions 0.9.0 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). is.js uses a regex copy-pasted from a gist to validate URLs. Trying to validate a malicious string can cause the regex to loop “forever.\" This vulnerability was found using a CodeQL query which identifies inefficient regular expressions. is.js has no patch for this issue.","aliases":["GHSA-pvrw-g6fx-mcx2"],"modified":"2026-07-08T17:57:11.373823Z","published":"2022-12-22T21:15:08.877Z","references":[{"type":"REPORT","url":"https://github.com/arasatasaygin/is.js/issues/320"},{"type":"EVIDENCE","url":"https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/arasatasaygin/is.js","events":[{"introduced":"0"},{"last_affected":"8516199ca608055188020f2b7a20559e465a39be"}],"database_specific":{"cpe":"cpe:2.3:a:is.js_project:is.js:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.9.0"}],"source":"CPE_RANGE"}}],"versions":["v0.9.0","v0.8.0","v0.7.6","v0.7.5","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.0","v0.5.2","v0.5.1","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3.0","v0.2.3","v0.2.2","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26302.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"}]}