# GHSA-xf5p-87ch-gxw2: Marked ReDoS due to email addresses being evaluated in quadratic time

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2019-06-05T14:10:03.000Z
- Modified: 2022-08-02T17:43:57.000Z
- Weaknesses: CWE-400

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- marked (npm): from 0.3.14 before 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)

## Sources

- GitHub Advisory Database: [GHSA-xf5p-87ch-gxw2](https://github.com/advisories/GHSA-xf5p-87ch-gxw2), CC-BY-4.0, modified 2022-08-02

---

Page: https://cve.day/GHSA-xf5p-87ch-gxw2 · Whole record: https://cve.day/GHSA-xf5p-87ch-gxw2.json · Rebuilt by cve.day 2026-11-25T22:56:47.015Z
