Advisory

GHSA-49rv-g7w5-m8xx

Also known as: CVE-2017-18635

Summary

Cross-Site Scripting in @novnc/novnc

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-08-28 21:24 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

@novnc/novnc

npm · All systems

Affected

  • introduced 0, fixed 0.6.2 (semver)

Fixed versions

0.6.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences