CVE-2020-19697 Pandao Editor.md vulnerable to cross-site scripting (XSS) in iframe src parameter

Medium 6.1 Published Updated

A remote attacker can execute arbitrary code via a crafted script in the iframe src 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-19697?

CVE-2020-19697 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 in the <iframe>src parameter.

Weakness: CWE-79

Which versions are affected by CVE-2020-19697?

2 open source packages ship an affected version, including editor.md. It affects 1 product.

PackageAffectedFixed in
editor.md npmAll versions to 1.5.0None
editor.md npmAll versions to 1.5.0None

Products include Ipandao Editor.md.

How do I fix CVE-2020-19697?

No fix has been published for CVE-2020-19697 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-19697 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-19697 exists.

Sources

Also known as GHSA-w974-rq9x-mh3v.

Is CVE-2020-19697 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free