CVE-2019-12043 Cross-site Scripting in remarkable
Attackers can execute arbitrary JavaScript via unprintable characters in URLs due to improper filtering in the remarkable markdown parser.
- 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-12043?
CVE-2019-12043 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 May 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
In remarkable 1.7.1, lib/parser_inline.js mishandles URL filtering, which allows attackers to trigger XSS via unprintable characters, as demonstrated by a \x0ejavascript: URL.
Weakness: CWE-79
Which versions are affected by CVE-2019-12043?
2 open source packages ship an affected version, including remarkable. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
remarkable npm | All versions | 1.7.2 |
remarkable npm | All versions | 1.7.2 |
Products include Remarkable Project Remarkable.
How do I fix CVE-2019-12043?
Upgrade remarkable to 1.7.2 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-12043 being exploited?
There is no known exploitation of CVE-2019-12043 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-36m4-6v6m-4vpr.