Advisory

GHSA-wx77-rp39-c6vg

Also known as: None

Summary

Regular Expression Denial of Service in markdown

Details

All versions of markdown are vulnerable to Regular Expression Denial of Service (ReDoS). The markdown.toHTML() function has significantly degraded performance when parsing long strings containing underscores. This may lead to Denial of Service if the parser accepts user input.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-09-04 15:11 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

markdown

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences