{"answers":{"affected":"2 open source packages ship an affected version, including markdown-it. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2327 exists.","fix":"Upgrade markdown-it to 14.1.1 or later.","what":"CVE-2026-2327 is a medium-severity denial of service vulnerability in markdown-it, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-2327 and fix it if it is affected.\n\nWhat it is: CVE-2026-2327 is a medium-severity denial of service vulnerability in markdown-it, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2327 exists.\n\nAffected packages and fixed versions:\n- markdown-it (npm): affected from 13.0.0; fixed in 14.1.1\n- markdown-it (npm): affected from 13.0.0; fixed in 14.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-2327/ (Markdown: https://insights.sbomify.com/CVE-2026-2327/index.md)","id":"CVE-2026-2327","markdown":"https://insights.sbomify.com/CVE-2026-2327/index.md","name":"CVE-2026-2327","record":{"aliases":["CLEANSTART-2026-BO70828","CLEANSTART-2026-PN19666","CLSA-2026-1774225205","ECHO-1dc3-49dc-a4e2","GHSA-38c4-r59v-3vqw","MINI-37qg-w249-w28g","MINI-7c5w-fh74-25gw","MINI-8vx5-63m6-m7fw","MINI-fhmm-jjv6-m46h","MINI-fq8w-hmmh-v58r","MINI-j84g-q6vq-hjq8","MINI-ph9h-3vx3-wf9v","MINI-r3wm-8339-3xgx","MINI-rrm2-mwv3-g9cm","MINI-rx68-fv3f-hfrg","MINI-xxq4-6593-m7x3","ROOT-APP-NPM-CVE-2026-2327","UBUNTU-CVE-2026-2327"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript markdown library","requires_auth":"none","summary":"An attacker can cause a denial of service in markdown-it by supplying crafted input that triggers excessive regex backtracking.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"markdown-it","vendor":"markdown-it_project"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of the regex /\\*+$/ in the linkify function. An attacker can supply a long sequence of * characters followed by a non-matching character, which triggers excessive backtracking and may lead to a denial-of-service condition.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"markdown-it is has a Regular Expression Denial of Service (ReDoS)","id":"CVE-2026-2327","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Backend Access Due to Insufficient Input Validation","id":"CVE-2026-2328"},"packages":[{"ecosystem":"npm","fixed":["14.1.1"],"introduced":["13.0.0"],"last_affected":[],"package":"markdown-it","purl":null,"source":"GHSA-38c4-r59v-3vqw"},{"ecosystem":"npm","fixed":["14.1.1"],"introduced":["13.0.0"],"last_affected":[],"package":"markdown-it","purl":"pkg:npm/markdown-it","source":"GHSA-38c4-r59v-3vqw"}],"prev":{"headline":"** REJECT ** DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2026-2326"},"products":["markdown-it"],"published":"2026-02-12","related":[{"cvss_score":6.9,"headline":"Markdown-it 14.1.0 - Cross-site scripting (XSS)","id":"CVE-2025-7969","kev_date_added":null,"published":"2025-08-21"},{"cvss_score":5.3,"headline":"markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations","id":"CVE-2026-48988","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":5.3,"headline":"Uncontrolled Resource Consumption in markdown-it","id":"CVE-2022-21670","kev_date_added":null,"published":"2022-01-10"},{"cvss_score":5.3,"headline":"Cross-site scripting in n/a","id":"CVE-2015-3295","kev_date_added":null,"published":"2017-06-07"},{"cvss_score":3.5,"headline":"markdown-it html_re.js redos","id":"CVE-2015-10005","kev_date_added":null,"published":"2022-12-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-12","vendors":["n/a"]},"summary":"An attacker can cause a denial of service in markdown-it by supplying crafted input that triggers excessive regex backtracking.","url":"https://insights.sbomify.com/CVE-2026-2327/"}