Security advisory
vscode-stripe is an extension for Visual Studio Code. A vulnerability in Stripe for Visual Studio Code extension exists when it loads an untrusted source-code repository containing malicious settings. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. The update addresses the vulnerability by modifying the way the extension validates its settings.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21420
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:32 UTC · Revision 1
Source evidence
vscode-stripe is an extension for Visual Studio Code. A vulnerability in Stripe for Visual Studio Code extension exists when it loads an untrusted source-code repository containing malicious settings. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. The update addresses the vulnerability by modifying the way the extension validates its settings.
osv:CVE-2021-21420
Complete source record
{
"id": "c0c899e149afffbfa315ec1f13981b59c7c86649d2fd4c7e8f8eabfcd5a896ff",
"url": "https://osv.dev/vulnerability/CVE-2021-21420",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21420",
"summary": "vscode-stripe is an extension for Visual Studio Code. A vulnerability in Stripe for Visual Studio Code extension exists when it loads an untrusted source-code repository containing malicious settings. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. The update addresses the vulnerability by modifying the way the extension validates its settings.",
"evidence": "osv:CVE-2021-21420",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-21420",
"aliases": [
"CVE-2021-21420",
"GHSA-j6x4-4622-8vv3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/stripe/vscode-stripe",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "57cd8de6ea40546b26d30b0905850e82b7c35b49"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:stripe:stripe:*:*:*:*:*:visual_studio_code:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.7.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21420.json"
}
}
],
"modified": "2026-10-20T10:54:29.234435293Z",
"provider": "osv",
"references": [
"https://github.com/stripe/vscode-stripe/security/advisories/GHSA-j6x4-4622-8vv3"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21420",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385447,
"published_at": "2021-04-01T22:15:11.887+00:00"
}