The unofficial SwiftFormat extension before 1.3.7 for Visual Studio Code allows remote…
Priority LOW 37CWE-863Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-863.
Summary
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.
Why it matters now
EPSS 0.01624 76th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:swiftformat_project:swiftformat:*:*:*:*:*:visual_studio_code:*:* | before 1.3.7 | Vulnerable | Swiftformat Project |
- cpe:2.3:a:swiftformat_project:swiftformat:*:*:*:*:*:visual_studio_code:*:* Versions before 1.3.7 Vulnerable ·Swiftformat Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28791
- 2026-10-03 Alias added: GHSA-q58h-4hfv-p9c7
References
Sources
- CVE-2021-28791 · CVE Program
- CVE-2021-28791 · NVD
- FIRST EPSS
- GHSA-q58h-4hfv-p9c7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences