Description
Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Published: 2026-07-14
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Improper neutralization of user input during web page generation in Visual Studio Code creates a cross‑site scripting flaw, allowing an attacker to inject malicious code that bypasses built‑in security controls. CWE‑79, and it can be used to execute arbitrary scripts within the application’s context, potentially modifying the local environment. The violation of confidentiality and integrity is limited to the installer’s user or local user who can craft files or URLs that the editor processes.

Affected Systems

Microsoft Visual Studio Code is affected; the specific affected versions are not detailed in the current data, indicating that the vulnerability may exist in any installation of VS Code that has not applied the vendor fix. Users should check for the latest update that includes the patch to mitigate the flaw.

Risk and Exploitability

The CVSS score of 7.1 suggests moderate severity, while the EPSS of less than 1 % implies a very low likelihood of exploitation. The flaw is not listed in CISA’s KEV catalog, which further indicates no widely known active exploits. The attack vector is inferred to be local, requiring the attacker to supply or open a malicious file or URL that the editor processes; remote exploitation is not described. Given the moderate score and low exploitation probability, the threat is moderate but not urgent, yet patching remains recommended to eliminate the local bypass risk.

Generated by OpenCVE AI on July 31, 2026 at 06:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Microsoft Visual Studio Code update and update any extensions that render web content, ensuring they handle input safely.
  • Disable or restrict the web view feature in VS Code settings if it is not required for your workflow.
  • Keep all installed extensions that render web content up to date and sourced from trusted vendors to guard against XSS exploits.

Generated by OpenCVE AI on July 31, 2026 at 06:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Description Improper neutralization of input during web page generation ('cross-site scripting') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Title Visual Studio Code Security Feature Bypass Vulnerability
First Time appeared Microsoft
Microsoft visual Studio Code
Weaknesses CWE-79
CPEs cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft visual Studio Code
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C'}


Subscriptions

Microsoft Visual Studio Code
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-08-03T22:58:06.299Z

Reserved: 2026-06-23T18:29:51.054Z

Link: CVE-2026-57101

cve-icon Vulnrichment

Updated: 2026-07-14T18:41:10.633Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T06:30:18Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')