SCA: security update for gogs.io/gogs (GHSA-jq8v-rmf6-65jw)

high Tenable Cloud Security Plugin ID 443791

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, although .ipynb previews are sanitized on
the server side via /-/api/sanitize_ipynb, the inserted content is re-rendered on the client side without
sanitization using marked() on elements with the .nb-markdown-cell class. During this process, links
containing schemes such as javascript: can be regenerated. As a result, when a victim views an attacker-
crafted .ipynb file and clicks the link, arbitrary JavaScript is executed in the Gogs origin, leading to a
click-based Stored XSS. This vulnerability is fixed in 0.14.3. (CVE-2026-52798)

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-jq8v-rmf6-65jw

Plugin Details

Severity: High

ID: 443791

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

Score: 5

Percentile: 94.23

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.7

Temporal Score: 6.4

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

CVSS Score Source: CVE-2026-52798

CVSS v3

Risk Factor: High

Base Score: 8.9

Temporal Score: 7.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/22/2026

Vulnerability Publication Date: 6/22/2026

Reference Information

CVE: CVE-2026-52798

cwe: CWE-79