CVE-2018-25060
HIGH 7.5CVSS 3.1Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute
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.
- Published
- 30 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-311CWE-614
- Also known as
- GHSA-hhxg-px5h-jc32GO-2022-1213
- Sources
- NVDJSONOSV GHSA-hhxg-px5h-jc32JSONOSV GO-2022-1213JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | go-macaron | csrfcpe:2.3:a:go-macaron:csrf:-:*:*:*:*:macaron:*:* |
(no version) | |
| OSV | Go | github.com/go-macaron/csrf | < 0.0.0-20180426211050-dadd1711a617 | 0.0.0-20180426211050-dadd1711a617 |
References
- https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c · Patch, Third Party Advisory, WEB, FIX
- https://github.com/go-macaron/csrf/pull/7 · Patch, Third Party Advisory, WEB, FIX
- https://vuldb.com/?ctiid.217058 · Third Party Advisory, WEB
- https://vuldb.com/?id.217058 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-25060 · ADVISORY
- https://github.com/go-macaron/csrf · PACKAGE
- https://pkg.go.dev/vuln/GO-2022-1213 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 30 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jan 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Dec 2022)