
CVE catalog
CVE-2020-7760
codemirror-js: CVE-2020-7760
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.30% · Oct 25, 2026
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|/*.*?*/)*
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | codemirror-js | sid | 5.65.20+~cs5.83.25-1 | fixed |
| Debian | codemirror-js | forky | 5.65.20+~cs5.83.25-1 | fixed |
| Debian | codemirror-js | trixie | 5.65.0+~cs5.83.9-3 | fixed |
| Debian | codemirror-js | bookworm | 5.65.0+~cs5.83.9-2 | fixed |
| Ubuntu | codemirror-js | 16.04 | 5.4.0-1 | vulnerable |
| Ubuntu | codemirror-js | 18.04 | 5.4.0-1 | vulnerable |
| Ubuntu | codemirror-js | 18.04 | 5.19.0-1 | vulnerable |
| Ubuntu | codemirror-js | 20.04 | 5.43.0-1 | vulnerable |
| Ubuntu | codemirror-js | 20.04 | 5.49.2-1 | vulnerable |
| Ubuntu | codemirror-js | 20.04 | 5.50.2-1 | vulnerable |
| Ubuntu | codemirror-js | 20.04 | 5.51.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | codemirror-js | source | sid | 5.58.2+~cs0.23.101-1 | not yet assigned | Not reported | Not reported |
| Debian | codemirror-js | source | forky | 5.58.2+~cs0.23.101-1 | not yet assigned | Not reported | Not reported |
| Debian | codemirror-js | source | trixie | 5.58.2+~cs0.23.101-1 | not yet assigned | Not reported | Not reported |
| Debian | codemirror-js | source | bookworm | 5.58.2+~cs0.23.101-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-codemirror]Fixed
Source package: [codemirror-js]
Details (2)
5.65.0+~cs5.83.9-2· all · bookwormFixed · Fixed:
5.58.2+~cs0.23.101-1dsa · codemirror-js · debian · bookworm; dsa · codemirror-js · debian · 12
5.65.0+~cs5.83.9-2· all · bookwormFixed · Fixed:
5.58.2+~cs0.23.101-1dsa · codemirror-js · debian · bookworm; dsa · codemirror-js · debian · 12
[Debian 13 (Trixie)]
- [libjs-codemirror]Fixed
Source package: [codemirror-js]
Details (2)
5.65.0+~cs5.83.9-3· all · trixieFixed · Fixed:
5.58.2+~cs0.23.101-1dsa · codemirror-js · debian · 13
5.65.0+~cs5.83.9-3· all · trixieFixed · Fixed:
5.58.2+~cs0.23.101-1dsa · codemirror-js · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-7760]
- [https://osv.dev/vulnerability/DSA-4789-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-7760]
- [https://security-tracker.debian.org/tracker/CVE-2020-7760]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1784.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]