VULNERABILITY INTELLIGENCE

CVE-2021-28789

CVSS score7.8 HIGH
EPSS probability1.71%
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 apple/swift-format extension before 1.1.2 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted apple-swift-format.path configuration value that triggers execution upon opening the workspace.

Weakness classification

  • nvd@nist.gov: NVD-CWE-noinfo

Primary references