VDB
Sign up
MEDIUM4.7

GO-2026-6878

Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto in github.com/labstack/echo

Quick fix

GO-2026-6878 — github.com/labstack/echo/v4: upgrade to the fixed version with the command below.

go get github.com/labstack/echo/v4@v4.15.2

Details

Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto in github.com/labstack/echo

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/labstack/echo/v4
Introduced in: 0Fixed in: 4.15.2
Fixgo get github.com/labstack/echo/v4@v4.15.2
Go/github.com/labstack/echo/v5
Introduced in: 0Fixed in: 5.1.1
Fixgo get github.com/labstack/echo/v5@v5.1.1

References