NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2025-64716: Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode

mediumCVSS 4.0 5.1GHSA-cf57-c578-7jvv

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().

Published Oct 30, 2025 · Updated Nov 15, 2025

Affected packages

github.com/TecharoHQ/anubis

Ecosystem
Go
Affected
< 1.23.0
Fixed in
1.23.0
Check
go list -m github.com/TecharoHQ/anubis

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to nijel, mbiesiad.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries