CVE-2004-1177: mailman Cross-site scripting (XSS) vulnerability
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.80807%
CWE
Published
4/29/2022
Updated
9/18/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mailman | pip | < 2.1.5 | 2.1.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output encoding in error pages generated by mailman's driver script. The Debian bug report shows the patch adds XML escaping for both environment variables (os.environ items) and traceback output. The original vulnerable code directly printed user-controlled URL parameters in error responses without sanitization, particularly in the sections handling: 1) Traceback output after exceptions 2) Environment variable display in debug output. The patch specifically introduces xml.sax.saxutils.escape() calls to sanitize these outputs, confirming these were the vulnerable code paths.