GoWorst: Moderate2 advisories

github.com/gorilla/csrf: known vulnerabilities

github.com/gorilla/csrf has 2 reviewed security advisories in the GitHub Advisory Database — 2 moderate. The most recent was published 2025-08-29. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/gorilla/csrf versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/gorilla/csrf

Upgrade github.com/gorilla/csrf to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/gorilla/csrf@1.7.3 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

github.com/gorilla/csrf improperly validates TrustedOrigins allowing CSRF attacks Moderate CWE-352 CWE-807 — Affected: up to and including 1.7.3. No fixed release is listed. Published 2025-08-29. GHSA-82ff-hg59-8x73 · CVE-2025-47909
gorilla/csrf CSRF vulnerability due to broken Referer validation Moderate CWE-352 — Affected: before 1.7.3. Fixed in 1.7.3. Published 2025-04-15. GHSA-rq77-p4h8-4crw · CVE-2025-24358

Find github.com/gorilla/csrf across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.