CVE-2025-64716
JSON

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 packageVersionsReported by
TecharoHQ anubis< 1.23.0CVE List
github.com/TecharoHQ/anubis (Go)before 1.23.0GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N
GitHub0.0medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
GitHubmedium CVSS:4.0CVSS: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

CWE-79CWE-601

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2025-64716 changed 2025-11-13CVE Terms of Use
GitHub Advisory DatabaseGHSA-cf57-c578-7jvv changed 2025-11-15CC-BY-4.0
Go Vulnerability DatabaseGO-2025-4086 changed 2026-03-03CC-BY-4.0
NVDCVE-2025-64716 changed 2026-10-07Public domain