Advisory

GHSA-cf57-c578-7jvv

Also known as: CVE-2025-64716, GO-2025-4086

Summary

Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-30 17:08 UTC
Modified
2025-11-15 03:11 UTC

Affected packages and fixes

github.com/TecharoHQ/anubis

Go · All systems

Affected

  • introduced 0, fixed 1.23.0 (semver)

Fixed versions

1.23.0

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences