In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
{
"github_reviewed": true,
"github_reviewed_at": "2021-05-12T14:55:34Z",
"nvd_published_at": null,
"severity": "MODERATE",
"cwe_ids": [
"CWE-281"
]
}