In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a “not the owner of the email” check.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14958
Reference (s):
- https://github.com/gogs/gogs/commit/82ff0c5852f29daa5f95d965fd50665581e7ea3c
- https://github.com/gogs/gogs/pull/5988

