# CVE-2020-8127: Cross-site Scripting in reveal.js

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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): 1.20%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-02-28T19:25:46.000Z
- Modified: 2026-06-17T03:25:54.477Z
- Also known as: GHSA-6vwx-mwp8-fh44
- Weaknesses: CWE-79
- Assigned by: hackerone

## Description

Insufficient validation in cross-origin communication (postMessage) in reveal.js version 3.9.1 and earlier allow attackers to perform cross-site scripting attacks.

(As written by CVE List.)

## Affected

- reveal.js: Fixed version: 3.9.2
- reveal.js (npm): before 3.9.2
- revealjs reveal.js: up to 3.9.1

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://hackerone.com/reports/691977> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8127> (advisory)

## Sources

- CVE List: [CVE-2020-8127](https://www.cve.org/CVERecord?id=CVE-2020-8127), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6vwx-mwp8-fh44](https://github.com/advisories/GHSA-6vwx-mwp8-fh44), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-8127](https://nvd.nist.gov/vuln/detail/CVE-2020-8127), Public domain, modified 2026-06-17

---

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