CVE-2019-9844 Cross-Site Scripting in simple-markdown
An attacker can execute arbitrary scripts in a user's browser by injecting malicious data or vbscript URIs into markdown content processed by the library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2019-9844?
CVE-2019-9844 is a medium-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 15 Mar 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
simple-markdown.js in Khan Academy simple-markdown before 0.4.4 allows XSS via a data: or vbscript: URI.
Weakness: CWE-79
Which versions are affected by CVE-2019-9844?
2 open source packages ship an affected version, including simple-markdown. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
simple-markdown npm | All versions | 0.4.4 |
simple-markdown npm | All versions | 0.4.4 |
Products include Fedoraproject Fedora, Khanacademy Simple-Markdown.
How do I fix CVE-2019-9844?
Upgrade simple-markdown to 0.4.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-9844 being exploited?
There is no known exploitation of CVE-2019-9844 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as GHSA-qj3f-9gmq-fwv5.