reveal.js@4.0.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