GHSA-3244-8mff-w398
Reflected XSS in Gotify's /docs via import of outdated Swagger UI
Impact
Gotify exposes an outdated instance of the Swagger UI API documentation frontend at /docs which is susceptible to reflected XSS attacks when loading external Swagger config files.
Specifically, the DOMPurify version included with this version of Swagger UI is vulnerable to a rendering XSS incorporating the mutation payload detailed in CVE-2020-26870 which was patched in 2021. This is further tracked in the GitHub Advisory Database as GHSA-QRMM-W75W-3WPX.
An attacker can execute arbitrary JavaScript and potentially take over the account of the user that clicked the link. Keep in mind, 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.
Patches
The vulnerability has been fixed in version 2.2.3.
References
What each source reports
GitHub AdvisoriesNo score
Reflected XSS in Gotify's /docs via import of outdated Swagger UI
Impact
Gotify exposes an outdated instance of the Swagger UI API documentation frontend at /docs which is susceptible to reflected XSS attacks when loading external Swagger config files.
Specifically, the DOMPurify version included with this version of Swagger UI is vulnerable to a rendering XSS incorporating the mutation payload detailed in CVE-2020-26870 which was patched in 2021. This is further tracked in the GitHub Advisory Database as GHSA-QRMM-W75W-3WPX.
An attacker can execute arbitrary JavaScript and potentially take over the account of the user that clicked the link. Keep in mind, 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.
Patches
The vulnerability has been fixed in version 2.2.3.
References
- Record
GHSA-3244-8mff-w398- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVNo score
Reflected XSS in Gotify's /docs via import of outdated Swagger UI
Impact
Gotify exposes an outdated instance of the Swagger UI API documentation frontend at /docs which is susceptible to reflected XSS attacks when loading external Swagger config files.
Specifically, the DOMPurify version included with this version of Swagger UI is vulnerable to a rendering XSS incorporating the mutation payload detailed in CVE-2020-26870 which was patched in 2021. This is further tracked in the GitHub Advisory Database as GHSA-QRMM-W75W-3WPX.
An attacker can execute arbitrary JavaScript and potentially take over the account of the user that clicked the link. Keep in mind, 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.
Patches
The vulnerability has been fixed in version 2.2.3.
References
- Record
GHSA-3244-8mff-w398- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGO-2023-1471No score
Reflected XSS in Gotify's /docs via import of outdated Swagger UI in github.com/gotify/server
Reflected XSS in Gotify's /docs via import of outdated Swagger UI in github.com/gotify/server
- Record
GO-2023-1471- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/gotify/serverGo | through 2.2.2 | 2.2.3 |
github.com/gotify/serverGo | before 2.2.3 | 2.2.3 |
github.com/gotify/serverGo | All versions | None known |
github.com/gotify/server/v2Go | before 2.2.3 | 2.2.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-3244-8mff-w398 is a vulnerability with no CVSS score yet in github.com/gotify/server, published January 10, 2023. No source lists public exploit code. Fixed in github.com/gotify/server 2.2.3.
References
github.com/gotify/server/security/advisories/GHSA-3244-8mff-w398
github.com/gotify/server/pull/541
research.securitum.com/mutation-xss-via-mathml-mutation-dompurify-2-0-17-bypass
vidocsecurity.com/blog/hacking-swagger-ui-from-xss-to-account-takeovers
github.com/advisories/GHSA-3244-8mff-w398
github.com/gotify/server