← CVE Intelligence

CVE-2025-6493

CodeMirror Markdown Mode markdown.js redos PUBLISHED

Description (CNA)

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."

Affected (CNA)

Vendor / productVersions
n/a / CodeMirroraffected 5.65.0; affected 5.65.1; affected 5.65.2; affected 5.65.3; affected 5.65.4; affected 5.65.5; affected 5.65.6; affected 5.65.7; affected 5.65.8; affected 5.65.9; affected 5.65.10; affected 5.65.11; affected 5.65.12; affected 5.65.13; affected 5.65.14; affected 5.65.15; affected 5.65.16; affected 5.65.17; affected 5.65.18; affected 5.65.19; affected 5.65.20; unaffected 6.0

CWE

CWE-1333, CWE-400

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.