ghsa-p9wx-2529-fp83
Vulnerability from github
Published
2025-05-23 15:31
Modified
2025-05-27 15:03
Severity ?
VLAI Severity ?
Summary
Marked allows Regular Expression Denial of Service (ReDoS) attacks
Details
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "marked" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.3.17" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-25110" ], "database_specific": { "cwe_ids": [ "CWE-1333" ], "github_reviewed": true, "github_reviewed_at": "2025-05-27T15:03:47Z", "nvd_published_at": "2025-05-23T15:15:20Z", "severity": "MODERATE" }, "details": "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.", "id": "GHSA-p9wx-2529-fp83", "modified": "2025-05-27T15:03:47Z", "published": "2025-05-23T15:31:16Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-25110" }, { "type": "WEB", "url": "https://github.com/markedjs/marked/issues/1070" }, { "type": "WEB", "url": "https://github.com/markedjs/marked/pull/1083" }, { "type": "WEB", "url": "https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485" }, { "type": "WEB", "url": "https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110" }, { "type": "PACKAGE", "url": "https://github.com/markedjs/marked" } ], "schema_version": "1.4.0", "severity": [ { "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", "type": "CVSS_V4" } ], "summary": "Marked allows Regular Expression Denial of Service (ReDoS) attacks" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…