Csrf Csrf

The application failed to protect against Cross-Site Request Forgery (CSRF) due to not including the `[ValidateAntiForgeryToken]` attribute on an HTTP method handler that could change user state (usually in the form of POST or PUT methods). The vulnerability can be exploited by an adversary creating a link or form on a third party site and tricking an authen

IndexedPublic repositoryMediumHigh confidenceVerifiedMITC#
greprules fetch gitlab-sast-csharp-csrf-rule-csrf --engine opengrep

Description

The application failed to protect against Cross-Site Request Forgery (CSRF) due to not including the `[ValidateAntiForgeryToken]` attribute on an HTTP method handler that could change user state (usually in the form of POST or PUT methods). The vulnerability can be exploited by an adversary creating a link or form on a third party site and tricking an authen