CVE-2026-9591: Csharp Mvc Missing Global Csrf

Global anti-forgery validation may be missing in MVC framework configuration. If API endpoints rely on cookie-based authentication, failing to add global CSRF token filters exposes them to Cross-Site Request Forgery (CSRF). Set up a global anti-forgery validation filter such as `AutoValidateAntiforgeryTokenAttribute` or apply it selectively on session-aware

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0C#
greprules fetch cve-2026-9591-csharp-mvc-missing-global-csrf --engine opengrep

Description

Global anti-forgery validation may be missing in MVC framework configuration. If API endpoints rely on cookie-based authentication, failing to add global CSRF token filters exposes them to Cross-Site Request Forgery (CSRF). Set up a global anti-forgery validation filter such as `AutoValidateAntiforgeryTokenAttribute` or apply it selectively on session-aware