CVE-2022-46181: GO-2022-1208 - gotify/server vulnerable to Cross-site Scripting in the application image file upload in github.com/gotify/server

CVE-2022-46181 · Severity: low · CVSS 3.1 · Published 2024-08-21

gotify/server vulnerable to Cross-site Scripting in the application image file upload in github.com/gotify/server

Technologies: github.com/gotify/server (Go), github.com/gotify/server/v2 (Go). Vendors: Go.

Quick answers

Is CVE-2022-46181 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-46181 being exploited in the wild.
How severe is CVE-2022-46181?
Low severity, with a CVSS score of 3.1, published 21 August 2024.
Which products and versions are affected?
github.com/gotify/server (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.2.2; github.com/gotify/server/v2 (Go) SEMVER:introduced=0,fixed=2.2.2.
Is there a fix for CVE-2022-46181?
Yes. github.com/gotify/server (Go): upgrade to 2.2.2 or later; github.com/gotify/server/v2 (Go): upgrade to 2.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-46181?
Check whether you run github.com/gotify/server (Go) or github.com/gotify/server/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/gotify/server (Go): upgrade to 2.2.2 or later
    go get github.com/gotify/server@v2.2.2
  • github.com/gotify/server/v2 (Go): upgrade to 2.2.2 or later
    go get github.com/gotify/server/v2@v2.2.2

Affected products

  • github.com/gotify/server (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.2.2
  • github.com/gotify/server/v2 (Go) SEMVER:introduced=0,fixed=2.2.2

Identifiers

  • CVE-2022-46181
  • GHSA-xv6x-456v-24xh
  • GO-2022-1208

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.