DEBIAN-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.
DEBIAN-CVE-2026-48988
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-48988
node-markdown-it
Source reference: /affected/0/package/name
- Affected versions
- 22.2.3+dfsg+~12.2.3-2
Source reference:
/affected/0/versions22.2.3+dfsg+~12.2.3-3Source reference:
/affected/0/versions22.2.3+dfsg+~12.2.3-4Source reference:
/affected/0/versions22.2.3+dfsg+~12.2.3-5Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-markdown-it
Source reference: /affected/1/package/name
- Affected versions
- 22.2.3+dfsg+~12.2.3-2
Source reference:
/affected/1/versions22.2.3+dfsg+~12.2.3-3Source reference:
/affected/1/versions22.2.3+dfsg+~12.2.3-4Source reference:
/affected/1/versions22.2.3+dfsg+~12.2.3-5Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
node-markdown-it
Source reference: /affected/2/package/name
- Affected versions
- 22.2.3+dfsg+~12.2.3-2
Source reference:
/affected/2/versions22.2.3+dfsg+~12.2.3-3Source reference:
/affected/2/versions22.2.3+dfsg+~12.2.3-4Source reference:
/affected/2/versions - Fixed versions
- 22.2.3+dfsg+~12.2.3-5
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-markdown-it",
"purl": "pkg:deb/debian/node-markdown-it?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"22.2.3+dfsg+~12.2.3-2",
"22.2.3+dfsg+~12.2.3-3",
"22.2.3+dfsg+~12.2.3-4",
"22.2.3+dfsg+~12.2.3-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48988.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-markdown-it",
"purl": "pkg:deb/debian/node-markdown-it?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"22.2.3+dfsg+~12.2.3-2",
"22.2.3+dfsg+~12.2.3-3",
"22.2.3+dfsg+~12.2.3-4",
"22.2.3+dfsg+~12.2.3-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48988.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "22.2.3+dfsg+~12.2.3-5"
}
]
}
],
"package": {
"name": "node-markdown-it",
"purl": "pkg:deb/debian/node-markdown-it?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"22.2.3+dfsg+~12.2.3-2",
"22.2.3+dfsg+~12.2.3-3",
"22.2.3+dfsg+~12.2.3-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48988.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56623 · Revision 1
- Added to Heist Feed
- Publisher date