CVE-2018-25060Go-macaron Csrf
High 7.5 No auth needed
Follow: this CVE · Go-macaron · Go-macaron Csrf We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 48
- Auth required
- No
- Published
- Dec 30, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
A vulnerability was found in Macaron csrf and classified as problematic. Affected by this issue is some unknown functionality of the file csrf.go. The manipulation of the argument Generate leads to sensitive cookie without secure attribute. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The patch is identified as dadd1711a617000b70e5e408a76531b73187031c. It is recommended to apply a patch to fix this issue. VDB-217058 is the identifier assigned to this vulnerability.
What to do
- Apply the vendor's security update for Csrf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/go-macaron/csrf |
< 0.0.0-20180426211050-dadd1711a617 |
0.0.0-20180426211050-dadd1711a617 |
go get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617 |
| Go | github.com/go-macaron/csrf |
< 0.0.0-20180426211050-dadd1711a617 |
0.0.0-20180426211050-dadd1711a617 |
go get github.com/go-macaron/csrf@v0.0.0-20180426211050-dadd1711a617 |
Per OSV / GitHub Advisories (GHSA-hhxg-px5h-jc32, GO-2022-1213). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| go-macaron | csrf | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- vuldb.com Third Party Advisory
- vuldb.com Third Party Advisory