6661 matches found
Echo's Middleware.Static: `%2F`-encoded Path Bypasses Route/group Middleware Guarding A Statically-served Path
Summary When "middleware.Static" is mounted globally "e.Usemiddleware.Static..." and an application relies on a route- or group-level middleware guard to restrict a path that also falls under the served static root, a "%2F"-encoded request bypasses that guard while the file is still served. This ...
Echo: HTTPS Redirect And HSTS Bypass Via Unconditional Trust Of Forwarded Scheme Headers
Description "Context.Scheme" unconditionally trusts four client-controlled HTTP headers to determine the request scheme, with no mechanism to configure trusted sources. This allows a remote unauthenticated attacker to bypass HTTPS redirect enforcement and suppress HSTS headers. The trusted header...
Echo Has Rate Limiter Bypass Via Spoofed X-Forwarded-For Header In Default Configuration
Summary When "echo.New" is used without explicitly setting "EchoIPExtractor", the "RealIP" method falls back to reading the client-supplied "X-Forwarded-For" or "X-Real-IP" header without any proxy-origin validation. The default "RateLimiter" middleware derives its per-client identifier from...
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 "NonWWWRedirect" middlewares use this unsanitized scheme to construct...
CVE-2026-118261
Removed by vendor...
CVE-2026-118260
Removed by vendor...
CVE-2026-118265
Removed by vendor...
CVE-2026-118264
Removed by vendor...
CVE-2026-118262
Removed by vendor...
CVE-2026-118263
Removed by vendor...
Cross-site Scripting (XSS)
Overview Affected versions of this package are vulnerable to Cross-site Scripting XSS via the Context.JSONP and Context.JSONPBlob methods in context.go. An attacker can make a victim’s browser execute arbitrary JavaScript in the site’s origin by sending a request with a crafted callback value tha...
Cross-site Scripting (XSS)
Overview Affected versions of this package are vulnerable to Cross-site Scripting XSS via the Context.JSONP and Context.JSONPBlob methods in context.go. An attacker can make a victim’s browser execute arbitrary JavaScript in the site’s origin by sending a request with a crafted callback value tha...
Reliance on Untrusted Inputs in a Security Decision
Overview Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.RealIP method in context.go. When EchoIPExtractor is unset, the default RateLimiter uses ctx.RealIP as its client identifier, and an attacker can evade throttling by...
Reliance on Untrusted Inputs in a Security Decision
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.RealIP method in context.go. When EchoIPExtractor is unset, the default RateLimiter uses...
Reliance on Untrusted Inputs in a Security Decision
Overview Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.RealIP method in context.go. When EchoIPExtractor is unset, the default RateLimiter uses ctx.RealIP as its client identifier, and an attacker can evade throttling by...
Reliance on Untrusted Inputs in a Security Decision
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.RealIP method in context.go. When EchoIPExtractor is unset, the default RateLimiter uses...
Directory Traversal
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Directory Traversal via the StaticDirectoryHandler and Static middleware in Echo’s static file serving. An unauthenticated attacker can read files protected by...
Directory Traversal
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Directory Traversal via the static middleware in middleware/static.go. An attacker can cause a file under a guarded route to be served by sending a double-encoded...
Directory Traversal
Overview Affected versions of this package are vulnerable to Directory Traversal via the StaticDirectoryHandler and Static middleware in Echo’s static file serving. An unauthenticated attacker can read files protected by route-level middleware by requesting a public static path containing encoded...
Directory Traversal
Overview Affected versions of this package are vulnerable to Directory Traversal via the StaticDirectoryHandler and Static middleware in Echo’s static file serving. An unauthenticated attacker can read files protected by route-level middleware by requesting a public static path containing encoded...