mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-09-19 09:40:12 +00:00
GHSA-9rc6-8cjv-rcvx: getRedirectURL derived the OAuth2 callback URL from the raw Host header, so a forged Host (or a provider with loose redirect-URI matching) could divert a victim's authorization code to an attacker origin and bind their identity. Trust the request Host only when it is an operator-declared dashboard host (IsReservedDashboardHost, same allowlist guarding NAT routing); otherwise fall back to the configured InstallHost.