{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-30502","published":"2021-04-25T03:15:07.203000Z","last_modified":"2026-06-17T03:50:21.223000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:simple_glasgow_haskell_compiler_project:simple_glasgow_haskell_compiler:*:*:*:*:*:visual_studio_code:*:*","part":"a","vendor":"simple_glasgow_haskell_compiler_project","product":"simple_glasgow_haskell_compiler","version_end_excluding":"0.2.3"}],"cpes_truncated":false,"vendors":["simple_glasgow_haskell_compiler_project"],"products":["simple_glasgow_haskell_compiler_project/simple_glasgow_haskell_compiler"],"epss":{"score":0.02899,"percentile":0.87696,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-30502/","html_en":"/en/cve/CVE-2021-30502/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-30502","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-30502"},"untrusted":{"vendor_name":"Simple Glasgow Haskell Compiler Project","product_name":"Simple Glasgow Haskell Compiler","desc_en":"The unofficial vscode-ghc-simple (aka Simple Glasgow Haskell Compiler) extension before 0.2.3 for Visual Studio Code allows remote code execution via a crafted workspace configuration with replCommand.","affected":[],"references":[{"url":"https://github.com/dramforever/vscode-ghc-simple/blob/master/CHANGELOG.md#v023","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/dramforever/vscode-ghc-simple/commit/bc7f6f0b857dade46ea51496d8bd1a4edef39b46","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/dramforever/vscode-ghc-simple/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://vuln.ryotak.me/advisories/38","tags":["Third Party Advisory"]}]}}