VDB

CVE-2018-25110

CVE-2018-25110 PUBLISHED CVSS 6.9 MEDIUM

Regular Expression Denial of Service (ReDoS) in markedjs/marked

Reported by checkmarx · Published May 23, 2025

marked is fixed in 0.3.17 (npm)

Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
markednpm0.3.17
markedmarked_project0.3.17

Risk scores

CVSS 4.0
6.9
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

Affected products

VendorProductVersions
0
0
npmmarked0

Timeline

  • May 23, 2025 CVE Published
  • May 24, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 31, 2025 CVE Updated
  • Mar 9, 2026 Security Advisory
  • Sep 21, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-25110
vulnetix vdb fixes CVE-2018-25110

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-25110/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›