# Reflected XSS in Gotify's /docs via import of outdated Swagger UI

Source: https://junglewise.ai/threats/reflected-xss-in-gotify-s-docs-via-import-of-outdated-swagger-ui-29b43f30  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-10  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-01-10

Reflected XSS in Gotify's /docs via import of outdated Swagger UI

Technologies: [github.com/gotify/server (Go)](https://junglewise.ai/threats/technologies/github-com-gotify-server). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 10 January 2023.

**Which products and versions are affected?** github.com/gotify/server (Go) SEMVER:introduced=0,fixed=2.2.3.

**Is there a fix for This vulnerability?** Yes. github.com/gotify/server (Go): upgrade to 2.2.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/gotify/server (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.3 or later

  ```sh
  go get github.com/gotify/server@v2.2.3
  ```


## Affected products

- github.com/gotify/server (Go) SEMVER:introduced=0,fixed=2.2.3

## Related threats

- [Gotify password change endpoint missing verification](https://junglewise.ai/threats/cve-2026-102603-gotify-insufficiently-protected-password-change-endpoint)
- [GO-2022-1208 - gotify/server vulnerable to Cross-site Scripting in the application image file upload in github.com/gotify/server](https://junglewise.ai/threats/cve-2022-46181-gotify-server-vulnerable-to-cross-site-scripting-in-the)
- [GO-2023-1471 - Reflected XSS in Gotify's /docs via import of outdated Swagger UI in github.com/gotify/server](https://junglewise.ai/threats/go-2023-1471-reflected-xss-in-gotify-s-docs-via-import-of-outdated-49d6c92a)
