Gogs 0.14.3 fixes security issues across authentication, request handling, authorization, rendering, repository access, and server resource use. Reverse-proxy authentication headers are now trusted only when requests come from addresses listed in [auth] TRUSTED_PROXY_IPS.
The release closes SSRF paths involving webhook redirects, mirror address updates, repository migration, and recurring mirror sync. It also fixes an open redirect and denial of service involving malformed external issue-tracker URLs, and prevents stored XSS in Jupyter notebook previews and the milestone dropdown. Access-control fixes cover attachment downloads from private repositories, organization metadata and team endpoints, repository settings, team-management actions, collaboration permissions, and Git HTTP access during pushes.
Other fixes address crafted branch names and organization paths that could enable remote command execution, uploads that could write outside a repository, cross-repository Git LFS object disclosure, password-reset token lifetime, and SSH handshakes that could hold resources indefinitely. The built-in SSH server now drops handshakes that do not complete within 15 seconds.
Source: Gogs 0.14.3 release.