reveal.js@3.3.0 vulnerabilities

The HTML Presentation Framework

Direct Vulnerabilities

Known vulnerabilities in the reveal.js package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

reveal.js is a framework for easily creating presentations using HTML.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to missing postMessage origin verification before adding the content to the webpage. The vulnerable component is the onmessage event listener in /plugin/notes/speaker-view.html.

How to fix Cross-site Scripting (XSS)?

Upgrade reveal.js to version 4.3.0 or higher.

<4.3.0
  • C
Cross-site Scripting (XSS)

reveal.js is a framework for easily creating presentations using HTML.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the postMessage API.

How to fix Cross-site Scripting (XSS)?

Upgrade reveal.js to version 3.9.2 or higher.

<3.9.2
  • M
Insecure Randomness

reveal.js is a framework for easily creating presentations using HTML.

Affected versions of this package are vulnerable to Insecure Randomness. Authorisation tokens are generated using math.random which can be predicted.

How to fix Insecure Randomness?

Upgrade reveal.js to version 4.0.0 or higher.

<4.0.0