GitHub Advisoryadvisory · Go

GHSA-8hp3-rmr7-xh88 Open Redirect in github.com/greenpau/caddy-security

MEDIUM Published 2024-02-17 Modified 2026-03-04 Official page ↗
Aliases
CVE-2024-21497
Ecosystem
Go
Packages
github.com/greenpau/caddy-security
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-601
Reviewed
2024-02-20

Affected packages

• Go github.com/greenpau/caddy-security: <= 1.1.23 (no fix yet)

Description

All versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. An attacker could perform a phishing attack and trick users into visiting a malicious website by crafting a convincing URL with this parameter. To exploit this vulnerability, the user must take an action, such as clicking on a portal button or using the browser’s back button, to trigger the redirection.

Related

Alias · CVE (1)

  • CVE-2024-21497 Versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References