ADVISORIES

Vulnerability

CVE-2020-7760

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

5 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 2Ubuntu 2npm 1

Advisories

  • DEBIAN-CVE-2020-7760

    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…

    CVE-2020-7760 Debian Updated 26 October 2026
  • DSA-4789-1

    codemirror-js - security update

    CVE-2020-7760 Debian Updated 20 November 2026
  • GHSA-4gw3-8f77-f72c

    Regular expression denial of service in codemirror

    Moderate CVE-2020-7760 npm Updated 14 January 2025
  • UBUNTU-CVE-2020-7760

    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…

    CVE-2020-7760 Ubuntu Updated 18 November 2026
  • USN-9135-1

    codemirror-js vulnerability

    CVE-2020-7760 Ubuntu Updated 18 November 2026

References