CSRF via scheme-blind TrustedOrigins matching
Published Aug 29, 2025 · Updated Aug 29, 2025
CSRF in TrustedOrigins in Gorilla Web Toolkit gorilla/csrf allows man-in-the-middle attackers to submit cross-origin requests. The Origin check compares a parsed request's host against TrustedOrigins without requiring its scheme to match the trusted HTTPS origin. Exploitation requires an HTTPS application configured with TrustedOrigins and a network position that can inject an HTTP form; accepted requests can perform application-defined actions with the victim's session.
Summary
What happened
CSRF in TrustedOrigins in Gorilla Web Toolkit gorilla/csrf allows man-in-the-middle attackers to submit cross-origin requests. The Origin check compares a parsed request's host against TrustedOrigins without requiring its scheme to match the trusted HTTPS origin. Exploitation requires an HTTPS application configured with TrustedOrigins and a network position that can inject an HTTP form; accepted requests can perform application-defined actions with the victim's session.
The record
- CVE
- CVE-2025-47909
- Published
- Aug 29, 2025
- Updated
- Aug 29, 2025
- Vendor
- Gorilla Web Toolkit
- Product
- gorilla/csrf
- Classifications
- CWE-807, CWE-352
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 29, 2025CVE publishedPublication date reported by the CVE source.
- Aug 29, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo