Skip to main content
Public proof of conceptFix available

CVE-2026-48988

A public proof of concept exists; no exploitation attested.

  • Published2026-06-17
  • Fixed in14.2.0
  • WeaknessCWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-06-1721:16CVE publishedNVD

Versions per branch

NVD · OSV
Markdown-it project markdown-it
BranchAffectedFixed in
14.2< 14.2.014.2.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • markdown-it
    Affected
    • = < 14.2.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-06-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/markdown-itRoot:npmall versions · fixed in 14.1.0-root.io.3
  • @rootio/markdown-itRoot:npmall versions · fixed in 14.1.0-root.io.4
  • gitlab-rails-ce-18.11Chainguardall versions · fixed in 18.11.13-r0
  • gitlab-rails-ce-19.0Chainguardall versions · fixed in 19.0.10-r0
  • gitlab-rails-ce-19.1Chainguardall versions · fixed in 19.1.7-r6
  • gitlab-rails-ce-19.2Chainguardall versions · fixed in 19.2.5-r2and 1 other package
  • gitlab-rails-ce-19.3Chainguardall versions · fixed in 19.3.1-r6
  • gitlab-rails-ce-fips-18.10Chainguardall versions · fixed in 18.10.8-r8

48 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-48988 Red Hat Product Security15 known affected

    markdown-it: markdown-it: Denial of Service via quadratic processing of smartquotes with typographer enabled

    rh-podman-desktop.git as a component of Red Hat Build of Podman Desktop · thrift as a component of Red Hat Ceph Storage 9 · thrift.src as a component of Red Hat Ceph Storage 9 · +12 more

Full record on NVD

Fix

  1. Update Markdown-it project markdown-it to 14.2.0
  2. No fix available, says the vendor Red Hat Product Security CVE-2026-48988 · 15 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2026-06-18
  • CNACVSS 3.15.3known since 2026-10-23
  • CNAweakness (CWE)CWE-400known since 2026-10-23
  • FIRST EPSSEPSS score0.4 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryMODERATE2026-06-15

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published
2026-06-17
Last Modified
2026-06-24
NVD status
Analyzed
GitHub Advisory
GHSA-6v5v-wf23-fmfq

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.

Is CVE-2026-48988 actively exploited?

A proof-of-concept exploit exists for CVE-2026-48988, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-48988?

CVE-2026-48988 has a CVSS v3 base score of 5.3 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Running markdown-it? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record