{"id":"CVE-2020-7760","aliases":["CVE-2020-7760","GHSA-4gw3-8f77-f72c"],"related":[],"kind":"vulnerability","state":"published","title":"Regular Expression Denial of Service (ReDoS)","summary":"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|/*.*?*/)*","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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|/*.*?*/)*","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete codemirror versiones anteriores a 5.58.2;&#xa0;el paquete org.apache.marmotta.webjars:codemirror anterior a 5.58.2.&#xa0;La expresión regular vulnerable se encuentra en https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129.&#xa0;La vulnerabilidad de tipo ReDOS de la expresión regular se debe principalmente al subpatrón (s|/*.*?*/)*","source":"nvd"}],"published":"2020-10-30T11:10:32.942Z","modified":"2026-06-17T03:25:23.800Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},{"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:L","score":5.3,"rating":"MEDIUM"},{"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"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.58.2","status":"affected"}],"product":"codemirror","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"5.58.2","status":"affected"}],"product":"org.apache.marmotta.webjars:codemirror","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"5.58.2"}],"ecosystem":"npm","package":"codemirror","purl":"pkg:npm/codemirror","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.58.2"}],"vendor":"codemirror","product":"codemirror","cpe":"cpe:2.3:a:codemirror:codemirror:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"20.2"}],"vendor":"oracle","product":"application_express","cpe":"cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"19c"}],"vendor":"oracle","product":"enterprise_manager_express_user_interface","cpe":"cpe:2.3:a:oracle:enterprise_manager_express_user_interface:19c:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"21.2"}],"vendor":"oracle","product":"essbase","cpe":"cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"11.2.9.0"}],"vendor":"oracle","product":"hyperion_data_relationship_management","cpe":"cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"19.1.0"}],"vendor":"oracle","product":"spatial_studio","cpe":"cpe:2.3:a:oracle:spatial_studio:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2020/dsa-4789","tags":["third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7760","tags":["advisory"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/codemirror","tags":["web"],"sources":["ghsa"]}],"credits":["Yeting Li"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7760","url":"https://www.cve.org/CVERecord?id=CVE-2020-7760","licence":"CVE Terms of Use","modified":"2024-09-17T01:06:44.297Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4gw3-8f77-f72c","url":"https://github.com/advisories/GHSA-4gw3-8f77-f72c","licence":"CC-BY-4.0","modified":"2025-01-14T08:57:03.278Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7760","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7760","licence":"Public domain","modified":"2026-06-17T03:25:23.800Z"}],"updatedAt":"2026-11-25T22:57:55.517Z","epss":{"score":0.04932,"percentile":0.92324,"date":"2026-12-01T12:00:22.000Z"}}