Read the docs
TI-2020-06277 Aliases CVE-2020-7760GHSA-4gw3-8f77-f72c

Regular expression denial of service (ReDoS) in codemirror

Priority MEDIUM 41CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

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

Why it matters now

EPSS 0.05304 92nd percentileScored 2026-11-07
Fix Partial codemirror: 5.58.2org.apache.marmotta.webjars:codemirror: 5.58.2+1 more productRed Hat: 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—codemirrorbefore 5.58.25.58.2Patch availableCNA
—org.apache.marmotta.webjars:codemirrorbefore 5.58.25.58.2Patch availableCNA
—codemirror (npm)before 5.58.25.58.2Patch availableGHSA-4gw3-8f77-f72c
  • codemirror Vendor— Affected before 5.58.2 Fixed in 5.58.2 Patch available CNA
  • org.apache.marmotta.webjars:codemirror Vendor— Affected before 5.58.2 Fixed in 5.58.2 Patch available CNA
  • codemirror (npm) Vendor— Affected before 5.58.2 Fixed in 5.58.2 Patch available GHSA-4gw3-8f77-f72c

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:codemirror:codemirror:*:*:*:*:*:*:*:*before 5.58.2VulnerableCodemirror
cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*before 20.2VulnerableOracle
cpe:2.3:a:oracle:enterprise_manager_express_user_interface:19c:*:*:*:*:*:*:*19cVulnerableOracle
cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:*21.2VulnerableOracle
cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:*before 11.2.9.0VulnerableOracle
cpe:2.3:a:oracle:spatial_studio:*:*:*:*:*:*:*:*before 19.1.0VulnerableOracle
  • cpe:2.3:a:codemirror:codemirror:*:*:*:*:*:*:*:* Versions before 5.58.2 Vulnerable ·Codemirror
  • cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:* Versions before 20.2 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:enterprise_manager_express_user_interface:19c:*:*:*:*:*:*:* Versions 19c Vulnerable ·Oracle
  • cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:* Versions 21.2 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:* Versions before 11.2.9.0 Vulnerable ·Oracle
  • cpe:2.3:a:oracle:spatial_studio:*:*:*:*:*:*:*:* Versions before 19.1.0 Vulnerable ·Oracle

Remediation

  • Fix · CNA codemirror Fixed in 5.58.2
  • Fix · CNA org.apache.marmotta.webjars:codemirror Fixed in 5.58.2
  • Fix · GHSA-4gw3-8f77-f72c codemirror (npm) Fixed in 5.58.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ansible Tower 3AffectedNo fix planned: Will not fix
Not affected: 2 products
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Enterprise 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-7760
  2. 2026-10-03 Alias added: GHSA-4gw3-8f77-f72c

References

Sources