All CVEs / Swiftformat Project
CVE-2021-28791Swiftformat Project Swiftformat
High 7.8
Follow: this CVE · Swiftformat Project · Swiftformat Project Swiftformat We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 77
- Auth required
- Yes
- Published
- Mar 18, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-863
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Swiftformat.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| swiftformat_project | swiftformat | < 1.3.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- vuln.ryotak.me Third Party Advisory