bymayo/porter is vulnerable to Cross-Site Request Forgery (CSRF)
43
CVE Score
Medium
Cross-Site Request Forgery (CSRF)
Affected versions of this package expose the Deactivate Account action to Cross-Site Request Forgery (CSRF) because the operation was triggered via a simple GET link without CSRF protection. An attacker could craft a malicious webpage that silently issues a request to the porter/deactivate-account endpoint while a victim is authenticated, causing the victim’s account to be deactivated without their consent. By embedding the request in an image, link, or auto-submitting form, the attacker could trick users into visiting the page and unknowingly triggering the action. The patch mitigates this by requiring a POST request with a valid CSRF token.
Upgrade the bymayo/porter library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.0.0 - 5.0.4
Fixed in 5.1.0bymayo/porter is vulnerable to Cross-Site Request Forgery (CSRF) in versions 1.0.0 - 5.0.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.