Open Redirect Affecting github.com/go-chi/chi/middleware package, versions >=5.2.2 <5.2.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.22% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOCHICHIMIDDLEWARE-14943965
  • published15 Jan 2026
  • disclosed14 Jan 2026
  • creditThanos Giannopoulos

Introduced: 14 Jan 2026

CVE-2025-69725  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/go-chi/chi/middleware to version 5.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Open Redirect via the RedirectSlashes function. An attacker can redirect users to an external, attacker-controlled website by crafting a specially formatted URL containing backslashes, which browsers interpret as a protocol-relative redirect.

CVSS Base Scores

version 4.0
version 3.1