node-turndown — security advisory
A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.
- Products
- node-turndown
- Affected versions
- 7.1.1-1, 7.1.1-2, 7.1.1-3, 7.2.2+~2.2.0~git20240406-2, 7.2.4+~2.2.0~git20240406-1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-9670
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:52 UTC · Revision 1
Source evidence
A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.
osv:UBUNTU-CVE-2025-9670
node-turndown
Fixed versions: Not specified
node-turndown
Fixed versions: Not specified
node-turndown
Fixed versions: Not specified
node-turndown
Fixed versions: Not specified
node-turndown
Fixed versions: Not specified
Complete source record
{
"id": "dabaed94931d730d4d7b093e1312729afebfa6a6d0dafcd4198a398ffc306e11",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-9670",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-9670",
"summary": "A security flaw has been discovered in mixmark-io turndown up to 7.2.1. This affects an unknown function of the file src/commonmark-rules.js. Performing manipulation results in inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.",
"evidence": "osv:UBUNTU-CVE-2025-9670",
"products": [
{
"name": {
"value": "node-turndown",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.1.1-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-turndown",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "node-turndown",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "node-turndown",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.2.2+~2.2.0~git20240406-2",
"evidence": "/affected/3/versions"
},
{
"value": "7.2.4+~2.2.0~git20240406-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "node-turndown",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "7.1.1-3",
"evidence": "/affected/4/versions"
},
{
"value": "7.2.2+~2.2.0~git20240406-2",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-9670",
"aliases": [
"UBUNTU-CVE-2025-9670"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-turndown",
"purl": "pkg:deb/ubuntu/node-turndown?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"7.1.1-1",
"7.1.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9670.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-turndown",
"binary_version": "7.1.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-turndown",
"purl": "pkg:deb/ubuntu/node-turndown?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"7.1.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9670.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-turndown",
"binary_version": "7.1.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-turndown",
"purl": "pkg:deb/ubuntu/node-turndown?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"7.1.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9670.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-turndown",
"binary_version": "7.1.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-turndown",
"purl": "pkg:deb/ubuntu/node-turndown?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"7.2.2+~2.2.0~git20240406-2",
"7.2.4+~2.2.0~git20240406-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9670.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-turndown",
"binary_version": "7.2.4+~2.2.0~git20240406-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-turndown",
"purl": "pkg:deb/ubuntu/node-turndown?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"7.1.1-3",
"7.2.2+~2.2.0~git20240406-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9670.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-turndown",
"binary_version": "7.2.2+~2.2.0~git20240406-2"
}
]
}
}
],
"modified": "2026-10-17T12:59:38.965015688Z",
"provider": "osv",
"upstream": [
"CVE-2025-9670"
],
"references": [
"https://ubuntu.com/security/CVE-2025-9670",
"https://www.cve.org/CVERecord?id=CVE-2025-9670",
"https://github.com/mixmark-io/turndown/issues/501",
"https://github.com/mixmark-io/turndown/issues/501#issue-3336342088",
"https://vuldb.com/?ctiid.321880",
"https://vuldb.com/?id.321880",
"https://vuldb.com/?submit.637911"
]
},
"related_cves": [
{
"value": "CVE-2025-9670",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359699,
"published_at": "2025-08-29T19:15:00+00:00"
}