GHSA-xf5p-87ch-gxw2
MEDIUM 5.3CVSS 3.1Marked ReDoS due to email addresses being evaluated in quadratic time
Versions of marked from 0.3.14 until 0.6.2 are vulnerable to Regular Expression Denial of Service. Email addresses may be evaluated in quadratic time, allowing attackers to potentially crash the node process due to resource exhaustion.
Recommendation
Upgrade to version 0.6.2 or later.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | marked | >= 0.3.14, < 0.6.2 | 0.6.2 |
References
- https://github.com/markedjs/marked/pull/1460 · WEB
- https://github.com/markedjs/marked/commit/b15e42b67cec9ded8505e9d68bb8741ad7a9590d · WEB
- https://github.com/markedjs/marked · PACKAGE
- https://github.com/markedjs/marked/releases/tag/v0.6.2 · WEB
- https://snyk.io/vuln/SNYK-JS-MARKED-174116 · WEB
- https://www.npmjs.com/advisories/812 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2019)