Security mailing lists by PureSourceCode

CVE-2023-26125

HIGH 7.3CVSS 3.1

Improper input validation in github.com/gin-gonic/gin

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.

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
4 May 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-20CWE-77
Also known as
GHSA-3vp4-m3rf-835h
Sources
NVDJSONOSV GHSA-3vp4-m3rf-835hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.6 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gin-gonic gin
cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:*
< 1.9.0 1.9.0
OSV Go github.com/gin-gonic/gin < 1.9.0 1.9.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 4 May 2023)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.