GitHub Advisoryadvisory · Go

GHSA-cf57-c578-7jvv Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode

MEDIUM Published 2025-10-30 Modified 2025-11-15 Official page ↗
Aliases
CVE-2025-64716
Ecosystem
Go
Packages
github.com/TecharoHQ/anubis
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
Weaknesses
CWE-601, CWE-79
Reviewed
2025-10-30

Affected packages

• Go github.com/TecharoHQ/anubis: < 1.23.0 → fixed in 1.23.0

Description

Summary When using subrequest authentication, Anubis did not perform validation of the redirect URL and redirects user to any URL scheme. While most modern browsers do not allow a redirect to `javascript:` URLs, it could still trigger dangerous behavior in some cases. `GET https://example.com/.within.website/?redir=javascript:alert()` responds with `Location: javascript:alert()`. Impact Anybody with a subrequest authentication seems affected. Using `javascript:` URLs will probably be blocked by most modern browsers, but using custom protocols for third-party applications might still trigger dangerous operations. Note This was originally reported by @mbiesiad against Weblate.

Related

Alias · CVE (1)

  • CVE-2025-64716 Anubis is a Web AI Firewall Utility that challenges users' connections in order to protect upstream resources from scraper bots. vulnerability

Weakness · CWE (2)

  • CWE-601 URL Redirection to Untrusted Site weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References