GitHub Advisoryadvisory · npm

GHSA-49rv-g7w5-m8xx Cross-Site Scripting in @novnc/novnc

MEDIUM Published 2020-08-28 Modified 2021-09-23 Official page ↗
Aliases
CVE-2017-18635
Ecosystem
npm
Packages
@novnc/novnc
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2020-08-28

Affected packages

• npm @novnc/novnc: < 0.6.2 → fixed in 0.6.2

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 Upgrade to version 0.6.2 or later.

Related

Alias · CVE (1)

  • CVE-2017-18635 An XSS vulnerability was discovered in noVNC before 0.6.2 in which the remote VNC server could inject arbitrary HTML into the noVNC web… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References