{"cve":"CVE-2018-25060","nvd":{"published":"2022-12-30T12:15:09.103","modified":"2026-06-17T01:54:37.673","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-311","CWE-614"],"references":["https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c","https://github.com/go-macaron/csrf/pull/7","https://vuldb.com/?ctiid.217058","https://vuldb.com/?id.217058","https://github.com/go-macaron/csrf/commit/dadd1711a617000b70e5e408a76531b73187031c"],"products":["go-macaron:csrf"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2018-25060","score":0.00564,"percentile":0.46859,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hhxg-px5h-jc32","url":"https://osv.dev/vulnerability/GHSA-hhxg-px5h-jc32","summary":"Macaron csrf missing encryption and has sensitive cookies in HTTP session without secure attribute","modified":"2024-03-01T14:24:38Z","packages":[{"ecosystem":"Go","name":"github.com/go-macaron/csrf","purl":"pkg:golang/github.com/go-macaron/csrf","ranges":["<0.0.0-20180426211050-dadd1711a617"],"fixed":["0.0.0-20180426211050-dadd1711a617"]}]},{"id":"GO-2022-1213","url":"https://osv.dev/vulnerability/GO-2022-1213","summary":"Insecure generation of cookies in github.com/go-macaron/csrf","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/go-macaron/csrf","purl":"pkg:golang/github.com/go-macaron/csrf","ranges":["<0.0.0-20180426211050-dadd1711a617"],"fixed":["0.0.0-20180426211050-dadd1711a617"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}