CVE-2020-19698 Pandao Editor.md vulnerable to cross-site scripting (XSS) in editor parameter
A remote attacker can execute arbitrary code via a crafted script in the editor parameter of the Pandao Editor.md 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
- None listed
What is CVE-2020-19698?
CVE-2020-19698 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Apr 2023. 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
Cross Site Scripting vulnerability found in Pandao Editor.md v.1.5.0 allows a remote attacker to execute arbitrary code via a crafted script to the editor parameter.
Weakness: CWE-79
Which versions are affected by CVE-2020-19698?
2 open source packages ship an affected version, including editor.md. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
editor.md npm | All versions to 1.5.0 | None |
editor.md npm | All versions to 1.5.0 | None |
Products include Ipandao Editor.md.
How do I fix CVE-2020-19698?
No fix has been published for CVE-2020-19698 yet. Limit exposure of the affected software until one is available.
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-2020-19698 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-19698 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5p84-mmh9-pxgr.