5.1medium
Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode
- Severity
- 5.1medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cf57-c578-7jvvGO-2025-4086
Description
Anubis is a Web AI Firewall Utility that challenges users' connections in order to protect upstream resources from scraper bots. Prior to version 1.23.0, 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. Anybody with a subrequest authentication may be affected. Version 1.23.0 contains a fix for the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| TecharoHQ anubis | < 1.23.0 | CVE List |
| github.com/TecharoHQ/anubis (Go) | before 1.23.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N |
| GitHub | 0.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N |
Classification
What each source says
CVE List
Anubis is a Web AI Firewall Utility that challenges users' connections in order to protect upstream resources from scraper bots. Prior to version 1.23.0, 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. Anybody with a subrequest authentication may be affected. Version 1.23.0 contains a fix for the issue.
GitHub Advisory Database
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.
Go Vulnerability Database
Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode in github.com/TecharoHQ/anubis
NVD (es)
Anubis es una utilidad de cortafuegos web con IA que desafía las conexiones de los usuarios para proteger los recursos ascendentes de los bots raspadores. Antes de la versión 1.23.0, al usar autenticación de subpetición, Anubis no realizaba la validación de la URL de redirección y redirigía al usuario a cualquier esquema de URL. Aunque la mayoría de los navegadores modernos no permiten una redirección a URLs 'javascript:', aún podría desencadenar un comportamiento peligroso en algunos casos. Cualquiera con una autenticación de subpetición podría verse afectado. La versión 1.23.0 contiene una solución para el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64716 changed 2025-11-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cf57-c578-7jvv changed 2025-11-15 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4086 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-64716 changed 2026-10-07 | Public domain |