Vulnerability library
Security checkFebruary 01, 2023

Cross-Site Scripting in @novnc/novnc

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@novnc/novnc

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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

Update the @novnc/novnc package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.6.2
  • Patched version(s): 0.6.2

References

Could your website be exposed too?

SmartScanner can check your website for Cross-Site Scripting in @novnc/novnc and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 01, 2023