HTML/JavaScript Injection Vulnerability in Gogs Git Service
CVE-2026-52807
4.8MEDIUM
What is CVE-2026-52807?
A vulnerability exists in Gogs, an open source self-hosted Git service, where milestone names are rendered without adequate protection against HTML injection. Using the default settings of Semantic UI's dropdown component, an attacker can store malicious HTML/JavaScript payloads in milestone names. This payload is triggered when users interact with the dropdown on the New Issue page, allowing the execution of scripts in their browsers due to the decoding and re-parsing of the compromised text. The vulnerability was addressed in version 0.14.3, ensuring better security practices.
Affected Version(s)
gogs < 0.14.3
