viewerjs@1.2.1 vulnerabilities

JavaScript image viewer.

Direct Vulnerabilities

Known vulnerabilities in the viewerjs 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
  • H
Cross-site Scripting (XSS)

viewerjs is a JavaScript image viewer

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to a lack of escaping on user inputted html entities such as alt, src and url.

How to fix Cross-site Scripting (XSS)?

Upgrade viewerjs to version 1.3.6 or higher.

<1.3.6