Read the docs
TI-2022-22825 Aliases CVE-2022-46181GHSA-xv6x-456v-24xh

Gotify server XSS vulnerability in the application image file upload

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00545 45th percentileScored 2026-11-07
Fix Fixed server (gotify): 2.2.2github.com/gotify/server (Go): 2.2.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gotifyserverbefore 2.2.22.2.2Patch availableCNA
—github.com/gotify/server (Go)before 2.2.22.2.2Patch availableGHSA-xv6x-456v-24xh
  • server Vendorgotify Affected before 2.2.2 Fixed in 2.2.2 Patch available CNA
  • github.com/gotify/server (Go) Vendor— Affected before 2.2.2 Fixed in 2.2.2 Patch available GHSA-xv6x-456v-24xh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gotify:server:*:*:*:*:*:*:*:*before 2.2.2Vulnerablegotify
  • cpe:2.3:a:gotify:server:*:*:*:*:*:*:*:* Versions before 2.2.2 Vulnerable ·gotify

Remediation

  • Fix · CNA server (gotify) Fixed in 2.2.2
  • Fix · GHSA-xv6x-456v-24xh github.com/gotify/server (Go) Fixed in 2.2.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-46181
  2. 2026-10-03 Alias added: GHSA-xv6x-456v-24xh

References

Sources