---
id: "CVE-2026-121664"
page: "https://infrastack.ai/live/CVE-2026-121664"
kind: "vulnerability"
aliases: ["CVE-2026-121664"]
title: "Visual Studio Code: cross-site scripting lets an attacker run code over network"
severity: "high"
cvss: 8.3
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "Visual Studio Code", "fixed": ["1.145.3"], "affected": ">= 1.0.0, < 1.145.3", "ecosystem": "vendor"}]
ecosystems: []
tags: ["desktop-editor", "developers", "other", "visual-studio-code", "xss"]
not_affected_if: []
published_at: "2026-11-10T19:20:29+00:00"
first_seen_at: "2026-11-10T19:25:08+00:00"
updated_at: "2026-11-10T21:46:13+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121664", "first_seen_at": "2026-11-10T19:25:08+00:00"}, {"source": "analyst", "url": "https://radar.offseq.com/threat/cve-2026-121664-cwe-79-cross-site-scripting-in-microsoft-visual-studio-code-763d6d391132ef24", "first_seen_at": "2026-11-10T21:46:13+00:00", "cites": ["https://radar.offseq.com/threat/cve-2026-121664-cwe-79-cross-site-scripting-in-microsoft-visual-studio-code-763d6d391132ef24", "https://tri.opswat.com/vulnerabilities/CVE-2026-121664"]}]
exploit_sources: []
---

# Visual Studio Code: cross-site scripting lets an attacker run code over network

Link for people: https://infrastack.ai/live/CVE-2026-121664 (this .md is for agents)

Visual Studio Code mishandles input when generating web pages, which is a cross-site scripting flaw. A remote attacker who gets a crafted input in front of the editor can run code.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Visual Studio Code affected >= 1.0.0, < 1.145.3 fixed 1.145.3

## How to check

Run 'code --version' or Help > About; versions below 1.145.3 are in the reported affected range. Confirm against https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121664

## Fix

Update Visual Studio Code to 1.145.3 (per OffSeq's reading of the CVE record; confirm on the MSRC page)

## Timeline

- 2026-11-10T19:25:08+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-121664
- 2026-11-10T21:46:13+00:00 analyst https://radar.offseq.com/threat/cve-2026-121664-cwe-79-cross-site-scripting-in-microsoft-visual-studio-code-763d6d391132ef24 — MSRC page (the vendor advisory) not readable by tools; fix 1.145.3 and range >=1.0.0 <1.145.3 come from OffSeq, a secondary source built from the CVE record. Nothing marked verified. No exploitation or PoC found. Trigger details not published in sources I could read.

## Documents

- [describes] OffSeq: CVE-2026-121664 Visual Studio Code XSS https://radar.offseq.com/threat/cve-2026-121664-cwe-79-cross-site-scripting-in-microsoft-visual-studio-code-763d6d391132ef24
- [mentions] OPSWAT: CVE-2026-121664 https://tri.opswat.com/vulnerabilities/CVE-2026-121664

## From the sources

Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
