CVE-2004-1177: mailman Cross-site Scripting (XSS) Vulnerability

mailman Updated 06 Jul 2026

Summary

02/07/2026
Yes i
Moderate
Not published

CVE-2004-1177: mailman Cross-site scripting (XSS) vulnerability. Affects mailman versions < 2.1.5. Fixed in 2.1.5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Mailman is a widely used open-source mailing list management software that allows users to manage email lists easily. It provides features such as list creation, subscription management, and email archiving. However, prior to version 2.1.5, Mailman had a vulnerability that allowed attackers to exploit the system through cross-site scripting (XSS), potentially compromising user data and security.

Vulnerability Detail

The vulnerability arises from improper escaping of URLs in the error pages generated by Mailman. This flaw allows remote attackers to inject arbitrary web scripts or HTML into the error messages, which can be executed in the context of the user's browser. The ramifications of this vulnerability include the potential for data theft, session hijacking, and other malicious activities that could affect users interacting with the Mailman interface.

How To Fix

Minimum fixed version

2.1.5

This is the first release that contains the fix.

pip install --upgrade "mailman==2.1.5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement input validation and sanitization on URLs processed by Mailman to mitigate the risk of XSS attacks until the software is updated.

Conclusion

The CVE-2004-1177 vulnerability in Mailman poses a significant risk due to its potential for XSS attacks. Users are strongly advised to update to version 2.1.5 or later to mitigate this risk. Additionally, implementing workarounds and monitoring tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for mailman →

Share this vulnerability

FAQ

The vulnerability is a cross-site scripting (XSS) issue that allows attackers to inject malicious scripts into error pages.

If you are using a version of Mailman prior to 2.1.5, your installation is vulnerable to this XSS issue.

Attackers could steal user data, hijack sessions, or execute malicious scripts in the context of the user's browser.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using your Pipfile.lock.

Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for mailman.

How To Fix

Minimum fixed version

2.1.5

This is the first release that contains the fix.

pip install --upgrade "mailman==2.1.5"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback