CVE catalog

CVE-2025-6493

codemirror-js: CVE-2025-6493

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.53% · Oct 25, 2026

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

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancodemirror-jssid5.65.20+~cs5.83.25-1vulnerable
Debiancodemirror-jsforky5.65.20+~cs5.83.25-1vulnerable
Debiancodemirror-jstrixie5.65.0+~cs5.83.9-3vulnerable
Debiancodemirror-jsbookworm5.65.0+~cs5.83.9-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancodemirror-jssourcesid(unfixed)not yet assignedNot reported[1108477]
Debiancodemirror-jssourceforky(unfixed)not yet assignedNot reported[1108477]
Debiancodemirror-jssourcetrixie(unfixed)not yet assignedNot reported[1108477]
Debiancodemirror-jssourcebookworm(unfixed)not yet assignedNot reported[1108477]

[Debian bug #1108477]

Notes

[trixie] codemirror-js: Minor issue [bookworm] codemirror-js: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [codemirror-js]

    Details (2)
    • 5.65.0+~cs5.83.9-2 · all · bookworm

      Affected

      dsa · codemirror-js · debian · bookworm; dsa · codemirror-js · debian · 12

    • 5.65.0+~cs5.83.9-2 · all · bookworm

      Affected

      dsa · codemirror-js · debian · bookworm; dsa · codemirror-js · debian · 12

[Debian 13 (Trixie)]

  • Source package: [codemirror-js]

    Details (2)
    • 5.65.0+~cs5.83.9-3 · all · trixie

      Affected

      dsa · codemirror-js · debian · 13

    • 5.65.0+~cs5.83.9-3 · all · trixie

      Affected

      dsa · codemirror-js · debian · 13

Observed:

References