What’s Vulnerable › Vulnerabilities

CVE-2021-28791

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.

Affected products

How to fix

Upgrade to a fixed version: Swiftformat Project Swiftformat 1.3.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-28791 or the next vulnerability affects your stack