Intel

AIKIDO-2026-10320

bymayo/porter is vulnerable to Cross-Site Request Forgery (CSRF)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 10, 2026
March 10, 2026

43

CVE Score

Medium

Cross-Site Request Forgery (CSRF)

Are you affected? Scan for Free

TL;DR

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.

How do I fix this?

Upgrade the bymayo/porter library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

1.0.0 - 5.0.4

Fixed in 5.1.0

Background info

bymayo/porter is vulnerable to Cross-Site Request Forgery (CSRF) in versions 1.0.0 - 5.0.4.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea