Cross-Site Scripting in @novnc/novnc
Moderate severity
GitHub Reviewed
Published
Aug 28, 2020
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Sep 25, 2019
Reviewed
Aug 28, 2020
Published to the GitHub Advisory Database
Aug 28, 2020
Last updated
Feb 1, 2023
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 ofinclude/ui.js
and users ofvnc_auto.html
andvnc.html
.Recommendation
Upgrade to version 0.6.2 or later.
References