Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2020-7760

Regular Expression Denial of Service (ReDoS)

Medium5.3EPSS 5.3%
Published
Updated
Reserved
Assigned by
snyk

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|/*.*?*/)*

Scores

CVSS scores of CVE-2020-7760, by who scored it
Scored byCVSSScoreVector
snykCNA (assigner)3.1Medium5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C
NVDNVD · Modified3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
5.3% · top 7.4% of all CVEs (6 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.

Weakness

Affected products

  • codemirror

    • affected unspecified – < 5.58.2
  • org.apache.marmotta.webjars:codemirror

    • affected unspecified – < 5.58.2

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (12)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2020-7760 badge
[![CVE-2020-7760](https://trackcve.app/badge/CVE-2020-7760.svg)](https://trackcve.app/cve/CVE-2020-7760)

Record last updated .