Resource Exhaustion Affecting codemirror-js package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.54% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-CODEMIRRORJS-10498718
  • published25 Jun 2025
  • disclosed22 Jun 2025

Introduced: 22 Jun 2025

CVE-2025-6493  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 codemirror-js.

NVD Description

Note: Versions mentioned in the description apply only to the upstream codemirror-js package and not the codemirror-js package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

A weakness has been identified in CodeMirror up to 5.65.20. Affected is an unknown function of the file mode/markdown/markdown.js of the component Markdown Mode. This manipulation causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be exploited. Upgrading to version 6.0 is able to address this issue. You should upgrade the affected component. Not all code samples mentioned in the GitHub issue can be found. The repository mentions, that "CodeMirror 6 exists, and is [...] much more actively maintained."

CVSS Base Scores

version 3.1