Bug 2407445 (CVE-2025-64716, GHSA-cf57-c578-7jvv) - CVE-2025-64716 anubis: XSS via redirect parameter
Summary: CVE-2025-64716 anubis: XSS via redirect parameter
Keywords:
Status: NEW
Alias: CVE-2025-64716, GHSA-cf57-c578-7jvv
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2412447 2412448 2412449
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-30 18:02 UTC by OSIDB Bzimport
Modified: 2025-11-13 07:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-30 18:02:01 UTC
### 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.


Note You need to log in before you can comment on or make changes to this bug.