@salesforce/core is vulnerable to Server-Side Request Forgery (SSRF)
59
Medium Risk
The SfProject.resolveProjectConfig method reads the sfdcLoginUrl and signupTargetLoginUrl fields from a project's sfdx-project.json and returns them for use as the OAuth login endpoint. Before the fix these values are used without validating that the URL is well-formed and points to a Salesforce or internal domain. A crafted project configuration can therefore direct the authentication and token exchange flow to an attacker-controlled host, exposing OAuth credentials or sending requests to unintended endpoints. The fix validates that the configured login URL is syntactically valid and resolves to an allowed Salesforce or internal domain, throwing invalidProjectLoginUrl otherwise.
You are affected if you are using a version that falls within the vulnerable range and you authenticate or run commands within a project whose sfdx-project.json originates from an untrusted source.
@salesforce/core is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.16.10 - 8.32.2.
Upgrade the @salesforce/core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant