CVE-2026-52800: Csrf State Changing Get Route

State-changing operations registered to accept GET requests are vulnerable to Cross-Site Request Forgery (CSRF). GET requests are typically unprotected by anti-CSRF tokens and can be easily triggered by navigating to a URL or loading an image. Ensure you use POST, PUT, DELETE, or PATCH for operations that modify state on the server.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2026-52800-csrf-state-changing-get-route --engine opengrep

Description

State-changing operations registered to accept GET requests are vulnerable to Cross-Site Request Forgery (CSRF). GET requests are typically unprotected by anti-CSRF tokens and can be easily triggered by navigating to a URL or loading an image. Ensure you use POST, PUT, DELETE, or PATCH for operations that modify state on the server.