PublishedGHSA-g2rq-85pp-c2j9·
5.0Medium
No exploitation in the wild has been reported. Fixed in github.com/mikehelmick/go-bananas 1.0.2.
middleware.MutateMethod accepts a _method override from the query string or request body and allows overriding the HTTP method to safe methods such as GET. When installed as router middleware ahead of middleware.HandleCSRF, a cross-site POST request with _method=GET is routed to the POST handler while HandleCSRF observes a GET request and skips CSRF token validation.
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| go: github.com/mikehelmick/go-bananas | <1.0.2 | 1.0.2 |
Every event on this vulnerability
A live severity badge for an advisory, README or ticket