{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26125","id":"CVE-2023-26125","title":"Improper input validation in github.com/gin-gonic/gin","description":"Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning.\r\r**Note:** Although this issue does not pose a significant threat on its own it can serve as an input vector for other more impactful vulnerabilities. However, ","descriptionLong":"Versions of the package github.com/gin-gonic/gin before 1.9.0 are vulnerable to Improper Input Validation by allowing an attacker to use a specially crafted request via the X-Forwarded-Prefix header, potentially leading to cache poisoning.\r\r**Note:** Although this issue does not pose a significant threat on its own it can serve as an input vector for other more impactful vulnerabilities. However, successful exploitation may depend on the server configuration and whether the header is used in the application logic.","published":"2023-05-04T05:00:01.441Z","updated":"2026-10-28T02:30:51.799087742Z","reserved":"2023-02-20T10:28:48.924Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"NVD"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["github.com/gin-gonic/gin"],"affectedProducts":[{"vendor":"n/a","product":"github.com/gin-gonic/gin","defaultStatus":null,"versions":[{"version":"0","lessThan":"1.9.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","ranges":["<1.9.0"],"fixed":["1.9.0"],"advisory":"GHSA-3vp4-m3rf-835h"}],"cwes":["CWE-20","CWE-77"],"aliases":["GHSA-3vp4-m3rf-835h"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-3324285","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/t0rchwo0d/gin/commit/fd9f98e70fb4107ee68c783482d231d35e60507b","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/gin-gonic/gin/pull/3500","tags":["x_transferred","Exploit","Patch","fix","web"]},{"url":"https://github.com/gin-gonic/gin/pull/3503","tags":["x_transferred","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/gin-gonic/gin/releases/tag/v1.9.0","tags":["x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26125.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26125","tags":["advisory"]},{"url":"https://github.com/gin-gonic/gin","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00905,"epssPercentile":0.60692,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26125","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26125","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26125","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3vp4-m3rf-835h","ok":true,"note":"GHSA-3vp4-m3rf-835h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26125","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}