{"cve":"CVE-2020-7760","nvd":{"published":"2020-10-30T11:15:12.633","modified":"2026-06-17T03:25:23.800","status":"Modified","description":"This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of the regex is mainly due to the sub-pattern (s|/*.*?*/)*","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-400"],"references":["https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb","https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448"],"products":["codemirror:codemirror","oracle:application_express","oracle:enterprise_manager_express_user_interface","oracle:essbase","oracle:hyperion_data_relationship_management","oracle:spatial_studio"],"source":"nvd","synced_at":"2026-10-19T21:11:20.317016139+00:00"},"epss":{"cve":"CVE-2020-7760","score":0.05304,"percentile":0.92588,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4gw3-8f77-f72c","url":"https://osv.dev/vulnerability/GHSA-4gw3-8f77-f72c","summary":"Regular expression denial of service in codemirror","modified":"2025-01-14T08:57:03.278860Z","packages":[{"ecosystem":"npm","name":"codemirror","purl":"pkg:npm/codemirror","ranges":["<5.58.2"],"fixed":["5.58.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}