Skip to main content
VulnerabilityPublished Updated

CVE-2025-6493: Codemirror js · A weakness has been identified in CodeMirror up to 5.65.20

Affects codemirror-jsSource GCVE Database

0
Compare
Authoritative record:CVE-2025-6493· Medium 6.9

Public exploit available · CVSS 6.9 Medium · fixed in 6.0 : patch codemirror-js as a priority.

Data as of 18 Nov 2026, 04:19 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 6.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10codemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=stonkingOther threatsAffected
  • =5.65.20+~cs5.83.25-1
Fixed in–
Ubuntu 26.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=resoluteOther threatsAffected
  • =5.65.0+~cs5.83.9-3
  • =5.65.20+~cs5.83.25-1
Fixed in–
Ubuntu 25.10codemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=questingOther threatsAffected
  • =5.65.0+~cs5.83.9-3
Fixed in–
Ubuntu 24.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=nobleOther threatsAffected
  • =5.65.0+~cs5.83.9-3
Fixed in–
Ubuntu 22.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=jammyOther threatsAffected
  • 5.59.2+~cs0.23.109-1 – 5.65.0+~cs5.83.9-1
4 affected builds
Fixed in–
Ubuntu Pro 20.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=esm-apps/focalOther threatsAffected
  • 5.43.0-1 – 5.51.0-1ubuntu0.1~esm1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade CodeMirror to version 6.0 or later, as this version addresses the vulnerability. No other mitigation or temporary fix is indicated. Since the vulnerability is fixed in version 6.0, applying this upgrade is the recommended remediation.

Description

A weakness in CodeMirror up to version 5.65.20 affects the Markdown Mode component, specifically in the file mode/markdown/markdown.js. This vulnerability involves inefficient regular expression complexity, which can be exploited remotely to cause a denial of service condition. Public exploit code is available. Upgrading to CodeMirror version 6.0 addresses this issue.

References

Community reviews

Loading reviews…