# Cross-Site Scripting in @novnc/novnc

Advisory record · `GHSA-49rv-g7w5-m8xx`

- **Identifiers:** `GHSA-49rv-g7w5-m8xx` · `CVE-2017-18635`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 28 Aug 2020
- **Updated:** 8 Nov 2023
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 Aug 2020, 21:24 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `@novnc/novnc` (npm): affected `<0.6.2`; fixed in `0.6.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.048, the 92nd percentile, on 28 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 28 Aug 2020. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-49rv-g7w5-m8xx](https://github.com/advisories/GHSA-49rv-g7w5-m8xx)
- [OSV: GHSA-49rv-g7w5-m8xx](https://osv.dev/vulnerability/GHSA-49rv-g7w5-m8xx)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-18635>
- <https://github.com/novnc/noVNC/issues/748>
- <https://github.com/novnc/noVNC/commit/6048299a138e078aed210f163111698c8c526a13#diff-286f7dc7b881e942e97cd50c10898f03L534>
- <https://access.redhat.com/errata/RHSA-2020:0754>
- <https://bugs.launchpad.net/horizon/+bug/1656435>
- <https://github.com/ShielderSec/cve-2017-18635>
- <https://github.com/novnc/noVNC>
- <https://github.com/novnc/noVNC/releases/tag/v0.6.2>
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00004.html>
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00024.html>
- <https://snyk.io/vuln/SNYK-JS-NOVNCNOVNC-469136>
- <https://usn.ubuntu.com/4522-1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-49rv-g7w5-m8xx>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-49rv-g7w5-m8xx/>. Everything for agents: <https://agentprime.io/llms.txt>.
