epubjs@0.2.21 vulnerabilities

Parse and Render Epubs

Direct Vulnerabilities

Known vulnerabilities in the epubjs 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)

epubjs is a JavaScript library for rendering ePub documents in the browser, across many devices.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to a missing sanitization of the ePub HTML content in the iframe view of managers.

How to fix Cross-site Scripting (XSS)?

Upgrade epubjs to version 0.3.89 or higher.

<0.3.89