{"id":"CVE-2026-142306","summary":"GoatCounter through 2.7.0 CSV Formula Injection via Pageview Export","details":"GoatCounter through 2.7.0 contains a CSV formula injection vulnerability in exportcsv.go that allows remote unauthenticated attackers to store spreadsheet formulas by sending crafted count endpoint requests. Attackers can inject values beginning with =, +, - or @ into page titles, referrers or event paths, which execute when the site owner opens the exported CSV to exfiltrate spreadsheet data.","modified":"2026-12-02T20:45:54.213934107Z","published":"2026-12-02T16:48:47.674Z","database_specific":{"cwe_ids":["CWE-1236"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142306.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142306.json"},{"type":"PACKAGE","url":"https://github.com/arp242/goatcounter"},{"type":"ARTICLE","url":"https://github.com/arp242/goatcounter/blob/v2.7.0/exportcsv.go#L61-L91"},{"type":"ARTICLE","url":"https://github.com/arp242/goatcounter/blob/v2.7.0/hit.go#L73-L77"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142306"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-csv-formula-injection-via-pageview-export"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/arp242/goatcounter","events":[{"introduced":"0"},{"last_affected":"7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.7.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v2.7.0","v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.0","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v2.0.0-rc1","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142306.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"}]}