CVE-2025-6493: Codemirror js · A weakness has been identified in CodeMirror up to 5.65.20
Affects codemirror-jsSource GCVE Database
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
- 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:PExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10codemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10codemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTScodemirror-jspkg:deb/ubuntu/codemirror-js?arch=source&distro=esm-apps/focalOther threats | Affected
| 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.