Lack of Ownership Check in MakeEmailPrimary Function in Gogs 0.11.91

Lack of Ownership Check in MakeEmailPrimary Function in Gogs 0.11.91

CVE-2020-14958 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.

Learn more about our User Device Pen Test.