6.1

CVE-2022-46181: Gotify server XSS vulnerability in the application image file upload

Modified
AliasesGHSA-xv6x-456v-24xhGO-2022-1208
Published 29-12-2022Last modified 10-04-2025

Vulnerability summary

CVE-2022-46181 is a medium (CVSS 6.1) vulnerability in gotify server. EPSS estimates a 0.55% chance of exploitation in the next 30 days, higher than 46.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.55%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 29-12-2022
    PublishedVulnerability first disclosed.
  2. 10-04-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.55%

Chance of exploitation in the next 30 days

Percentile

47%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.53% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Github.com/gotify1 product
  • server< 2.2.2 | All versions (No fix recorded)
Github.com/gotify/server1 product
  • v2< 2.2.2
Gotify1 product

3 vendors · 3 products

References

5 links