Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
Attack Parameters
Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required
Impact Assessment
Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption
CVSS Vector v3.1
Weakness Type (CWE)
References 5
https://blog.gitea.com/release-of-1.25.5/
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/pull/36660
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/pull/36716
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/releases/tag/v1.25.5
88ee5874-cf24-4952-aea0-31affedb7ff2
https://github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m
88ee5874-cf24-4952-aea0-31affedb7ff2