SCA: security update for gogs.io/gogs (GHSA-vcm5-gvmp-78mp)

medium Tenable Cloud Security Plugin ID 443812

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Gogs is an open source self-hosted Git service. Prior to 0.14.3, in new_form.tmpl, milestone names are
rendered with Go's default auto-escaping ({{.Name}}), which converts < to &lt; etc. This prevents direct
HTML injection. However, when the browser renders the DOM, the text content of the element contains the
decoded original payload. Semantic UI 2.4.2's dropdown component has preserveHTML: true as the default
setting. When a user selects a dropdown item, the internal set.text() method calls jQuery's .html() with
the item's text content. This re-parses the decoded text as HTML, creating the injected element and
triggering the JavaScript event handler. An attacker can store an HTML/JavaScript payload in a milestone
name, and when any user opens the New Issue page and interacts with the milestone dropdown, the payload
executes in their browser via Semantic UI's preserveHTML behavior. This vulnerability is fixed in 0.14.3.
(CVE-2026-52807)

Solution

Update the gogs.io/gogs library and its related packages to version 0.14.3 or later.

See Also

https://github.com/advisories/GHSA-vcm5-gvmp-78mp

Plugin Details

Severity: Medium

ID: 443812

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/23/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.5

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2026-52807

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 4.8

Threat Score: 1.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/23/2026

Vulnerability Publication Date: 6/23/2026

Reference Information

CVE: CVE-2026-52807

cwe: CWE-79