CVE-2026-48988
CVE-2026-48988 is a medium-severity vulnerability in Markdown-it Project Markdown-it with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-400.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- EPSS exploit prediction: 0% (22nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-37799
- Weakness: CWE-400
- Affected product: Markdown-it Project Markdown-it
- Published:
- Last modified:
Description
markdown-it is a Markdown parser. Versions 14.1.1 and below contain a denial-of-service vulnerability when typographer: true is enabled, due to quadratic (O(n^2)) processing in the smartquotes rule. The issue stems from repeatedly modifying strings with replaceAt(), which performs O(n) slicing and concatenation per quote character. This can cause excessive CPU consumption when parsing quote-heavy, user-supplied markdown and may let attackers degrade or disrupt service availability. Although typographer is disabled by default, many production apps enable it for smart typography, making the issue relevant. This issue has been fixed in version 14.2.0.
Frequently asked questions
- What is CVE-2026-48988?
- markdown-it is a Markdown parser. Versions 14.1.1 and below contain a denial-of-service vulnerability when typographer: true is enabled, due to quadratic (O(n^2)) processing in the smartquotes rule. The issue stems from repeatedly modifying strings with replaceAt(), which performs O(n) slicing and concatenation per quote character. This can cause excessive CPU consumption when parsing quote-heavy, user-supplied markdown and may let attackers degrade or disrupt service availability. Although typographer is disabled by default, many production apps enable it for smart typography, making the issue relevant. This issue has been fixed in version 14.2.0.
- How severe is CVE-2026-48988?
- CVE-2026-48988 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-48988 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (22nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-48988?
- CVE-2026-48988 affects Markdown-it Project Markdown-it. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-48988?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-48988 have an EU (EUVD) identifier?
- Yes. CVE-2026-48988 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-37799.
- When was CVE-2026-48988 published?
- CVE-2026-48988 was published on 2026-06-17 and last updated on 2026-06-24.
References
- https://github.com/markdown-it/markdown-it/commit/9ce2087562c45d1e5ddd9f76b990f4b3fbe040e5
- https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6v5v-wf23-fmfq
Affected products (1)
- cpe:2.3:a:markdown-it_project:markdown-it:*:*:*:*:*:*:*:*
More vulnerabilities in Markdown-it Project Markdown-it
- CVE-2025-7969 — Medium (CVSS 6.1): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in…
- CVE-2026-2327 — Medium (CVSS 5.3): Versions of the package markdown-it from 13.0.0 and before 14.1.1 are vulnerable to Regular Expression Denial of…
- CVE-2022-21670 — Medium (CVSS 5.3): markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand…
- CVE-2015-3295 — Medium (CVSS 5.3): markdown-it before 4.1.0 does not block data: URLs.
- CVE-2015-10005 — Low (CVSS 3.5): A vulnerability was found in markdown-it up to 2.x. It has been classified as problematic. Affected is an unknown…
All CVEs affecting Markdown-it Project Markdown-it →
Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities
- CVE-2026-46775 — Critical (CVSS 9.9): Vulnerability in Oracle REST Data Services (component: Core). Supported versions that are affected are 24.2.0-26.1.0.…
- CVE-2025-61303 — Critical (CVSS 9.8): Hatching Triage Sandbox Windows 10 build 2004 (2025-08-14) and Windows 10 LTSC 2021(2025-08-14) contains a…
- CVE-2025-43193 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7,…
- CVE-2025-24269 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4. An app may be able to…
- CVE-2025-24264 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in Safari 18.4, iOS 18.4 and iPadOS 18.4,…
- CVE-2025-24260 — Critical (CVSS 9.8): The issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5,…
Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →