SCA: security update for gogs.io/gogs (GHSA-3w28-36p9-w929)

medium Tenable Cloud Security Plugin ID 443808

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, the Jupyter Notebook (ipynb) sanitizer
endpoint at POST /-/api/sanitize_ipynb allows arbitrary data: URIs without proper restrictions,
potentially leading to Cross-Site Scripting (XSS). The endpoint uses bluemonday.UGCPolicy() with
p.AllowURLSchemes("data") which permits all data URI schemes including data:text/html, enabling attackers
to inject malicious HTML/JavaScript. Additionally, the endpoint has no authentication middleware, allowing
any registered user to exploit this vulnerability. This vulnerability is fixed in 0.14.3. (CVE-2026-52816)

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-3w28-36p9-w929

Plugin Details

Severity: Medium

ID: 443808

Version: Revision 1.6

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: Medium

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-52816

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/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: 6.4

Threat Score: 5.4

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/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-52816