marked is an application that is meant to parse and compile markdown.
Due to the way that marked parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (
sanitize: true) to inject a
This flaw exists because
&#xNNanything; gets parsed to what it could and leaves the rest behind, resulting in just
anything; being left.
If a malicious user could provide this input to the application
The marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.
A markdown parser built for speed
npm install email@example.com -g