{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-46181","published":"2022-12-29T19:15:08.810000Z","last_modified":"2026-06-17T05:11:22.820000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:gotify:server:*:*:*:*:*:*:*:*","part":"a","vendor":"gotify","product":"server","version_end_excluding":"2.2.2"}],"cpes_truncated":false,"vendors":["gotify"],"products":["gotify/server"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00695,"percentile":0.4839,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xv6x-456v-24xh","ecosystem":"Go","name":"github.com/gotify/server","purl":"pkg:golang/github.com/gotify/server","ranges":[{"introduced":"0","fixed":"2.2.2"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-1208","ecosystem":"Go","name":"github.com/gotify/server","purl":"pkg:golang/github.com/gotify/server","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2022-1208","ecosystem":"Go","name":"github.com/gotify/server/v2","purl":"pkg:golang/github.com/gotify/server/v2","ranges":[{"introduced":"0","fixed":"2.2.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2022-46181/","html_en":"/en/cve/CVE-2022-46181/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-46181","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-46181"},"untrusted":{"vendor_name":"Gotify","product_name":"Server","desc_en":"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.","affected":[{"untrusted_vendor":"gotify","untrusted_product":"server","versions":[]}],"references":[{"url":"https://github.com/gotify/server/pull/534","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/gotify/server/pull/535","tags":["Third Party Advisory"]},{"url":"https://github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh","tags":["Third Party Advisory"]}]}}