CVE-2025-24358: CSRF Vulnerability in gorilla/csrf due to Broken Referer Validation
Executive Summary CVE-2025-24358 describes a Cross-Site Request Forgery (CSRF) vulnerability affecting the gorilla/csrf Go package. This vulnerability arises from a flaw in the Referer header validation logic, specifically how the package determines if a request is served over TLS. Due to the r.URL.Scheme value not being populated