Vulnerability library
Security checkFebruary 01, 2023

Regular expression denial of service in codemirror

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmcodemirror

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the codemirror package to the latest compatible version. Followings are version details:

  • Affected version(s): < 5.58.2
  • Patched version(s): 5.58.2

References

Could your website be exposed too?

SmartScanner can check your website for Regular expression denial of service in codemirror and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 01, 2023