# CVE-2020-7747: Cross-site Scripting (XSS)

- Severity: Medium 6.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-10-20T10:25:15.016Z
- Modified: 2026-06-17T03:25:22.433Z
- Also known as: GHSA-gmch-cm2p-9qw9
- Weaknesses: CWE-79
- Assigned by: snyk

## Description

This affects all versions of package lightning-server. It is possible to inject malicious JavaScript code as part of a session controller.

(As written by CVE List.)

## Affected

- lightning-server: before unspecified
- lightning-server (npm): up to 1.3.0
- lightning-viz lightning: no versions given

## Every score

- snyk: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N/E:P/RL:U/RC:C`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-LIGHTNINGSERVER-1019381> (exploit, third-party-advisory, web)
- <https://github.com/lightning-viz/lightning/blob/master/app/controllers/session.js> (exploit, vendor-advisory)
- <https://github.com/lightning-viz/lightning/blob/master/app/controllers/session.js%23L230> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7747> (advisory)

## Sources

- CVE List: [CVE-2020-7747](https://www.cve.org/CVERecord?id=CVE-2020-7747), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-gmch-cm2p-9qw9](https://github.com/advisories/GHSA-gmch-cm2p-9qw9), CC-BY-4.0, modified 2026-03-14
- NVD: [CVE-2020-7747](https://nvd.nist.gov/vuln/detail/CVE-2020-7747), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-7747 · Whole record: https://cve.day/CVE-2020-7747.json · Rebuilt by cve.day 2026-11-25T22:57:55.304Z
