{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-46181","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2022-11-28T17:27:19.999Z","datePublished":"2022-12-29T18:36:46.603Z","dateUpdated":"2025-04-10T18:02:15.686Z"},"containers":{"cna":{"title":"Gotify server XSS vulnerability in the application image file upload","problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh"},{"name":"https://github.com/gotify/server/pull/534","tags":["x_refsource_MISC"],"url":"https://github.com/gotify/server/pull/534"},{"name":"https://github.com/gotify/server/pull/535","tags":["x_refsource_MISC"],"url":"https://github.com/gotify/server/pull/535"}],"affected":[{"vendor":"gotify","product":"server","versions":[{"version":"< 2.2.2","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2022-12-29T18:36:46.603Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-xv6x-456v-24xh","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T14:31:44.432Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/gotify/server/security/advisories/GHSA-xv6x-456v-24xh"},{"name":"https://github.com/gotify/server/pull/534","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/gotify/server/pull/534"},{"name":"https://github.com/gotify/server/pull/535","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/gotify/server/pull/535"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-10T18:02:01.051299Z","id":"CVE-2022-46181","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-10T18:02:15.686Z"}}]}}