github.com/TecharoHQ/anubis
Affected
- introduced
0, fixed1.23.0(semver)
Fixed versions
1.23.0
Fix
- Fixed version
1.23.0go get github.com/TecharoHQ/[email protected]
Advisory
Also known as: CVE-2025-64716, GO-2025-4086
Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.23.0 (semver)1.23.0
1.23.0go get github.com/TecharoHQ/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0