{"id":"GHSA-wx77-rp39-c6vg","revision":"949b7319fdfc4d0c8d0c68d904acd3a3","records":[{"revision":"949b7319fdfc4d0c8d0c68d904acd3a3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-wx77-rp39-c6vg","aliases":[],"title":"Regular Expression Denial of Service in markdown","description":"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.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","state":0,"publishedAt":"2020-09-04T15:11:03+00:00","modifiedAt":"2026-09-10T03:49:26.2883334+00:00","affected":[{"ecosystem":"npm","name":"markdown","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/evilstreak/markdown-js","https://www.npmjs.com/advisories/1330"],"sourceUrl":"https://github.com/advisories/GHSA-wx77-rp39-c6vg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wx77-rp39-c6vg","identifiers":["GHSA-wx77-rp39-c6vg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}