NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2020-8127 — reveal.js

MEDIUM

CVE-2020-8127 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in reveal.js. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for reveal.js — see the affected versions and patch details below.

Cross-site Scripting in reveal.js

Also known asGHSA-6vwx-mwp8-fh44
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 12, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
1.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs69th percentile — riskier than 69% of all scored CVEsHighest risk
0.03%0.59%1.14%1.70%0.5%1.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

161other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
reveal.jsnpm
274Kdownloads / week

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmreveal.jsall versions3.9.2npm install reveal.js@3.9.2

Affected Products

1 product · 1 configurations
Application
reveal.jsrevealjs
≤ 3.9.1
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for reveal.js, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update reveal.js to 3.9.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8127 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

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

Is CVE-2020-8127 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2020-8127: reveal.js XSS — Fixed in 3.9.2