medium·Product Based Web Vulnerabilities·Updated Aug 30, 2026

CVE-2022-39258 Scanner

CVE-2022-39258 Scanner - Cross-Site Scripting (XSS) vulnerability in Mailcow Dockerized

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2022-39258
8.2
CVSShigh
Exploitable remotely over the internet · no authentication required · user interaction needed.

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
Affected
mailcow-dockerizedby mailcow
< 2022-09
Updated Aug 30, 2026View on NVD →
Detail

Mailcow Dockerized is a popular open-source project designed for managing mail servers. It is typically used by organizations and individual system administrators who require a reliable email server solution. The software is often employed in environments where ease of deployment and strong security are essential. Mailcow Dockerized offers various email server functionalities, including anti-virus and anti-spam controls. It is particularly favored for its compatibility with containerized infrastructures. Users can deploy Mailcow Dockerized on various platforms to streamline mail server management.

The identified vulnerability in Mailcow Dockerized is a DOM-based Cross-Site Scripting (XSS) flaw. XSS vulnerabilities enable attackers to execute arbitrary scripts in the context of a user's browser without their consent. In this case, the vulnerability exists in the Swagger UI component used by Mailcow Dockerized. By exploiting this flaw, attackers can potentially compromise user sessions and execute actions on behalf of the victim. This malicious activity could lead to information disclosure or account hijacking.

The technical details of this vulnerability are specific to the Swagger UI's handling of URL parameters. The vulnerability arises when the Swagger UI is accessed with a specially crafted configUrl or url parameter. By injecting JavaScript code into these parameters, attackers can trigger the execution of arbitrary scripts. The vulnerable endpoint is located within the Swagger UI documentation exposed by Mailcow Dockerized. Despite attempts to address security issues, this version of Swagger UI remains vulnerable until updated to a secure release.

Exploitation of this vulnerability could have several serious consequences. An attacker could use it to perform session hijacking, resulting in unauthorized access to user accounts. Attackers could also steal cookies and session data, allowing for advanced intrusion techniques. In addition, this vulnerability facilitates phishing attacks, as it allows scripts to be executed in a user's browser seamlessly. These potential effects emphasize the significant risk posed by this vulnerability to affected systems.

REFERENCES

Solution Advice
  • Upgrade mailcow-dockerized to version 2022-09a or later where Swagger UI is updated to version 4.11.1 or later.
  • Avoid exposing internal Swagger UI endpoints to the public network to minimize risk.
  • Implement web application firewalls (WAFs) to detect and block malicious inputs.
  • Regularly review and update software components to mitigate vulnerabilities.
  • Educate users on the risks of phishing and malicious links to prevent accidental exposure.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.