SCA: security update for github.com/gotify/server (GHSA-xv6x-456v-24xh)

medium Tenable Cloud Security Plugin ID 420671

Description

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

- Gotify server is a simple server for sending and receiving messages in real-time per WebSocket. Versions
prior to 2.2.2 contain an XSS vulnerability that allows authenticated users to upload .html files. An
attacker could execute client side scripts **if** another user opened a link. The attacker could
potentially take over the account of the user that clicked the link. The Gotify UI won't natively expose
such a malicious link, so an attacker has to get the user to open the malicious link in a context outside
of Gotify. The vulnerability has been fixed in version 2.2.2. As a workaround, you can block access to non
image files via a reverse proxy in the `./image` directory. (CVE-2022-46181)

See Also

https://github.com/advisories/GHSA-xv6x-456v-24xh

Plugin Details

Severity: Medium

ID: 420671

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2022-46181

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/30/2022

Vulnerability Publication Date: 12/29/2022

Reference Information

CVE: CVE-2022-46181

cwe: CWE-79