{"id":"CVE-2025-6493","aliases":["CVE-2025-6493"],"related":[],"kind":"vulnerability","state":"published","title":"CodeMirror Markdown Mode markdown.js redos","summary":"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.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\"","source":"cvelist"},{"lang":"de","text":"In CodeMirror up to 5.65.20 wurde eine Schwachstelle gefunden. Hierbei geht es um eine nicht exakt ausgemachte Funktion der Datei mode/markdown/markdown.js der Komponente Markdown Mode. Durch Beeinflussen mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Exploit steht zur öffentlichen Verfügung. Das Problem kann durch ein Upgrade auf Version 6.0 adressiert werden. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en CodeMirror hasta la versión 5.17.0 y se clasificó como problemática. Este problema afecta a una funcionalidad desconocida del archivo mode/markdown/markdown.js del componente Markdown Mode. La manipulación genera una complejidad ineficiente en las expresiones regulares. El ataque puede ejecutarse en remoto. Se ha hecho público el exploit y puede que sea utilizado. No se pueden encontrar todos los ejemplos de código mencionados en el problema de GitHub. El repositorio menciona que «CodeMirror 6 existe y se mantiene de forma mucho más activa».","source":"nvd"}],"published":"2025-06-22T22:00:10.483Z","modified":"2026-06-17T10:02:00.770Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P/E:POC/RL:OF/RC:C","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"5.65.0","status":"affected"},{"version":"5.65.1","status":"affected"},{"version":"5.65.2","status":"affected"},{"version":"5.65.3","status":"affected"},{"version":"5.65.4","status":"affected"},{"version":"5.65.5","status":"affected"},{"version":"5.65.6","status":"affected"},{"version":"5.65.7","status":"affected"},{"version":"5.65.8","status":"affected"},{"version":"5.65.9","status":"affected"},{"version":"5.65.10","status":"affected"},{"version":"5.65.11","status":"affected"},{"version":"5.65.12","status":"affected"},{"version":"5.65.13","status":"affected"},{"version":"5.65.14","status":"affected"},{"version":"5.65.15","status":"affected"},{"version":"5.65.16","status":"affected"},{"version":"5.65.17","status":"affected"},{"version":"5.65.18","status":"affected"},{"version":"5.65.19","status":"affected"},{"version":"5.65.20","status":"affected"},{"version":"6.0","status":"unaffected"}],"product":"CodeMirror","source":"cvelist"}],"references":[{"url":"https://vuldb.com/?id.313610","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.313610","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.598875","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/codemirror/codemirror5/issues/7128","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]}],"credits":["DayShift (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-06-23T15:43:06.172Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6493","url":"https://www.cve.org/CVERecord?id=CVE-2025-6493","licence":"CVE Terms of Use","modified":"2025-09-29T13:48:37.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6493","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6493","licence":"Public domain","modified":"2026-06-17T10:02:00.770Z"}],"updatedAt":"2026-11-25T22:58:59.518Z","epss":{"score":0.00559,"percentile":0.47905,"date":"2026-12-01T12:00:22.000Z"}}