LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25110: Regular Expression Denial of Service (ReDoS) in markedjs/marked

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.

MediumCVSS 6.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Older versions of the marked Markdown parser can be forced to spend excessive CPU time processing malicious Markdown. The business risk is service slowdown or outage wherever untrusted Markdown is parsed. The sources identify a fix in marked 0.3.17, but do not show active exploitation in the wild.

Executive priority

Prioritize remediation for public-facing services, support portals, CMS features, or collaboration tools that parse user Markdown. Internal-only or trusted-input usage is lower urgency but still should be upgraded during normal dependency maintenance.

Technical view

CVE-2018-25110 is a ReDoS in marked before 0.3.17, caused by catastrophic backtracking in regexes for HTML tags and Markdown links. Attackers need only supply crafted Markdown input to trigger availability impact. CVSS v4.0 is 6.9, with low vulnerable-system availability impact.

Likely exposure

Exposure is most likely in applications that accept user-controlled Markdown and parse it with marked versions before 0.3.17. The bundle does not identify specific downstream products or deployments.

Exploitation context

The source bundle includes a public proof-of-concept reference, but KEV is false and no cited source states active exploitation. Treat this as a practical denial-of-service risk where vulnerable parsing is internet-facing or high-volume.

Researcher notes

Focus on dependency version confirmation and data-flow reachability. The affected range comes from the bundle description; the affected metadata is sparse and lists an unknown vendor. Avoid assuming impact beyond the marked package without local dependency evidence.

Mitigation direction

  • Upgrade marked to version 0.3.17 or later.
  • Check direct and transitive dependencies for old marked versions.
  • Limit or queue untrusted Markdown parsing where immediate upgrade is delayed.
  • Apply vendor guidance if package maintainers publish newer advisory details.

Validation and detection

  • Review SBOMs and lockfiles for marked versions before 0.3.17.
  • Map where applications parse user-supplied Markdown.
  • Confirm vulnerable parsing is not reachable from public or unauthenticated inputs.
  • Add regression coverage for parser timeouts and resource limits.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1333: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25110 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.9 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.9CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

6.9Medium
CVSS 4.0 vector shape for CVE-2018-25110Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendormarkedmarked, 0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1333 · source CWE mapping

Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.