CVE-2018-25060: Macaron csrf csrf.go missing secure attribute
Vulnerability summary
CVE-2018-25060 is a high (CVSS 7.5) vulnerability in go-macaron csrf. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 46.8% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-12-2022PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 5 sources · 3 versions- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST2.6LowAV:N/AC:H/Au:N/C:P/I:N/A:N
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.52% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- golang-github-go-macaron-csrfAll versions (No fix recorded)
Github.com/go-macaron1 product
- csrf< 0.0.0-20180426211050-dadd1711a617
Go-macaron1 product
- csrfna
Macaron1 product
- csrfn/a
Ubuntu1 product
- golang-github-go-macaron-csrfAll versions (No fix recorded)
5 vendors · 5 products
References
10 links- github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031cPatchThird Party AdvisoryWEBFIX
- github.com/go-macaron/csrfPACKAGE