> CVE-2026-48988 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-06-17 21:16
MODIFIED
2026-06-18 20:16
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.38%
Top 68.1%
DATA SOURCES:
NVD đź”— 2026-06-18 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-10-29 OSV đź”— 2026-11-02

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

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EXPLOITABILITY
3.9
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> WEAKNESSES

CWE-400

> CWE DETAILED DESCRIPTIONS

CWE-400: Uncontrolled Resource Consumption - The product does not properly control the allocation and maintenance of a limited resource.

> GITHUB SECURITY ADVISORY

GHSA-6v5v-wf23-fmfq MODERATE

markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations

AFFECTED PACKAGES:
NPM / markdown-it
<= 14.1.1
Fixed in: 14.2.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operations

AFFECTED PACKAGES:
Unknown / Unknown
80 versions affected
ALIASES:
GHSA-6v5v-wf23-fmfq

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/06/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-400: Uncontrolled Resource Consumption - The product does not properly control the allocation and maintenance of a limited resource.
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://github.com/markdown-it/markdown-it/commit/9ce2087562c45d1e5ddd9f76b990f4...
https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6v5v-wf23-fm...
https://github.com/markdown-it/markdown-it/security/advisories/GHSA-6v5v-wf23-fm...
« BACK_TO_HOME