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().
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.
This was originally reported by @mbiesiad against Weblate.
| Score | Percentile |
|---|---|
| 0.06% | 20.09% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 5.1 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-cf57-c578-7jvv ↗ |
| CVE | CVE-2025-64716 ↗ |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| go | github.com/TecharoHQ/anubis | < 1.23.0 | 1.23.0 | — |