VULNERABILITY INTELLIGENCE

CVE-2021-28791

CVSS score7.8 HIGH
EPSS probability1.62%
CISA KEVNot currently listed
Published2021-03-18
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Description

The unofficial SwiftFormat extension before 1.3.7 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftformat.path configuration value that triggers execution upon opening the workspace.

Weakness classification

  • nvd@nist.gov: CWE-863

Primary references