THREAT OPS › Threat News › [GHSA] GHSA-23wf-92cp-8pcj (medium) — Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
[GHSA] GHSA-23wf-92cp-8pcj (medium) — Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
GHSA-23wf-92cp-8pcj Severity: medium CVE: CVE-2026-118658
Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto
## Summary
The `c.Scheme()` method in Echo (`context.go:162-181`) trusts the `X-Forwarded-Proto`, `X-Forwarded-Protocol`, and `X-Url-Scheme` request headers without validating that the value is `http` or `https`. The `WWWRedirect()` and `N
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- CVE-2026-118658cve
- https://`url
Original source: https://github.com/advisories/GHSA-23wf-92cp-8pcj