ADVISORIES

GitHub Advisory Database

GHSA-49rv-g7w5-m8xx

Cross-Site Scripting in @novnc/novnc

Moderate CVE-2017-18635

Details

Versions of @novnc/novnc prior to 0.6.2 are vulnerable to Cross-Site Scripting (XSS). The package fails to validate input from the remote VNC server such as the VNC server name. This allows an attacker in control of the remote server to execute arbitrary JavaScript in the noVNC web page. It affects any users of include/ui.js and users of vnc_auto.html and vnc.html.

Recommendation

Upgrade to version 0.6.2 or later.

Affected packages

EcosystemPackageAffected versions
npm@novnc/novnc
All versions before 0.6.2 (fixed in 0.6.2)

References