CVE-2020-7747 Cross-site Scripting (XSS)
An attacker can inject malicious JavaScript into the lightning-server session controller, potentially executing code in the victim's browser.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-7747?
CVE-2020-7747 is a medium-severity cross-site scripting vulnerability in lightning-server, published on 20 Oct 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
This affects all versions of package lightning-server. It is possible to inject malicious JavaScript code as part of a session controller.
Weakness: CWE-79
Which versions are affected by CVE-2020-7747?
2 open source packages ship an affected version, including lightning-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
lightning-server npm | All versions to 1.3.0 | None |
lightning-server npm | All versions to 1.3.0 | None |
Products include Lightning-Viz Lightning.
How do I fix CVE-2020-7747?
No fix has been published for CVE-2020-7747 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-7747 being exploited?
There is no known exploitation of CVE-2020-7747 in the wild and no public exploit code.
Sources
Also known as GHSA-gmch-cm2p-9qw9.