{"cve":"CVE-2014-8682","nvd":{"published":"2014-11-21T15:59:09.773","modified":"2026-06-17T00:17:09.033","status":"Modified","description":"Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-89"],"references":["http://gogs.io/docs/intro/change_log.html","http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html","http://seclists.org/fulldisclosure/2014/Nov/33","http://www.exploit-db.com/exploits/35238","http://www.securityfocus.com/archive/1/533995/100/0/threaded"],"products":["gogits:gogs"],"source":"nvd","synced_at":"2026-10-19T20:34:45.729216538+00:00"},"epss":{"cve":"CVE-2014-8682","score":0.32616,"percentile":0.98341,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g6xv-8q23-w2q3","url":"https://osv.dev/vulnerability/GHSA-g6xv-8q23-w2q3","summary":"SQL Injection in Gogs","modified":"2024-08-21T15:58:52.308849Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[">=0.3.1 <0.5.8"],"fixed":["0.5.8"]}]},{"id":"GO-2022-0831","url":"https://osv.dev/vulnerability/GO-2022-0831","summary":"SQL Injection in Gogs in gogs.io/gogs","modified":"2026-03-03T04:52:17.681533Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[">=0.3.1 <0.5.8"],"fixed":["0.5.8"]}]}],"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."]}