GHSA-v8f2-2ghq-9whv

Suggest an improvement
Source
https://github.com/advisories/GHSA-v8f2-2ghq-9whv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v8f2-2ghq-9whv/GHSA-v8f2-2ghq-9whv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v8f2-2ghq-9whv
Aliases
Published
2026-07-03T21:31:38Z
Modified
2026-09-10T15:25:58Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Gitea forwarded-proto validation allows canonical URL spoofing
Details

Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.

Database specific
{
    "cwe_ids": [
        "CWE-284"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-01T17:23:55Z",
    "nvd_published_at": "2026-07-03T21:16:59Z",
    "severity": "HIGH"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.25.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-v8f2-2ghq-9whv/GHSA-v8f2-2ghq-9whv.json"