Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2022-39258

8.1
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.
Description

mailcow is a mailserver suite. A vulnerability innversions prior to 2022-09 allows an attacker to craft a custom Swagger API template to spoof Authorize links. This could redirect a victim to an attacker controller place to steal Swagger authorization credentials or create a phishing page to steal other information. The issue has been fixed with the 2022-09 mailcow Mootember Update. As a workaround, one may delete the Swapper API Documentation from their e-mail server.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
mailcow-dockerized
Updated Nov 17, 2026View on NVD →
S4E scanner
mediumWeb Vulnerabilities~10 seconds

Mailcow Dockerized Swagger UI - Cross-Site Scripting

Mailcow-dockerized before 2022-09a uses a vulnerable version of Swagger UI (before 4.11.1) that is affected by a DOM-based Cross-Site Scripting (XSS) vulnerability. When a user accesses the Swagger documentation with a crafted configUrl or url parameter containing JavaScript payloads, arbitrary code execution can occur in the user's browser. This allows attackers to steal cookies, session data, or execute actions on behalf of the victim by enticing them to open a malicious Swagger UI link. References: https://github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-99r2-q6fj-6w47 https://github.com/swagger-api/swagger-ui/issues/8322 https://nvd.nist.gov/vuln/detail/CVE-2022-39258 Remediation: Upgrade mailcow-dockerized to at least 2022-09a, which updates Swagger UI to version 4.11.1 or later. Do not expose internal Swagger UI endpoints publicly.

url

CVE history: mailcow-dockerized

Predict next CVE date with AI

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →