Security mailing lists by PureSourceCode

CVE-2020-7760

HIGH 7.5CVSS 3.1

Regular expression denial of service in codemirror

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

Published
30 Oct 2020
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-4gw3-8f77-f72c
Sources
NVDJSONOSV GHSA-4gw3-8f77-f72cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD codemirror codemirror
cpe:2.3:a:codemirror:codemirror:*:*:*:*:*:*:*:*
< 5.58.2 5.58.2
NVD oracle application_express
cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:*
< 20.2 20.2
NVD oracle enterprise_manager_express_user_interface
cpe:2.3:a:oracle:enterprise_manager_express_user_interface:19c:*:*:*:*:*:*:*
= 19c
NVD oracle essbase
cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:*
= 21.2
NVD oracle hyperion_data_relationship_management
cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:*
< 11.2.9.0 11.2.9.0
NVD oracle spatial_studio
cpe:2.3:a:oracle:spatial_studio:*:*:*:*:*:*:*:*
< 19.1.0 19.1.0
OSV npm codemirror < 5.58.2 5.58.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 30 Oct 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 10 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.