Exploitation Summary
EIP tracks 1 public exploit for CVE-2021-43908. PoCs published by Sudistark.
AI-analyzed exploit summary This PoC exploits CVE-2021-43908, a vulnerability in Visual Studio Code that allows remote code execution via a crafted webview URL. The exploit uses a malicious HTML payload to escape the sandbox and execute arbitrary code by manipulating the file URI scheme.
Description
Visual Studio Code Spoofing Vulnerability
Exploits (1)
nomisec
WORKING POC
9 stars
by Sudistark · poc
https://github.com/Sudistark/vscode-rce-electrovolt
This PoC exploits CVE-2021-43908, a vulnerability in Visual Studio Code that allows remote code execution via a crafted webview URL. The exploit uses a malicious HTML payload to escape the sandbox and execute arbitrary code by manipulating the file URI scheme.
Classification
Working Poc 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target:
Visual Studio Code (versions affected by CVE-2021-43908)
No auth needed
Prerequisites:
Victim must visit a malicious URL or open a crafted HTML file in VS Code · VS Code must be running with the vulnerable extension loaded
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026
Full analysis →
References (1)
Core 1
Core References
Patch, Vendor Advisory x_refsource_misc
https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-43908
Scores
CVSS v3
4.3
EPSS
0.0269
EPSS Percentile
84.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Details
Status
published
Products (1)
microsoft/visual_studio_code
Published
Dec 15, 2021
Tracked Since
Feb 18, 2026