CVE-2018-13796
Description
GNU Mailman before 2.1.28 has a crafted URL injection vulnerability allowing arbitrary text display on a trusted site's web page.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
GNU Mailman before 2.1.28 has a crafted URL injection vulnerability allowing arbitrary text display on a trusted site's web page.
Vulnerability
An issue in GNU Mailman before version 2.1.28 [1][2] allows a crafted URL to inject arbitrary text into a web page served from a trusted site. The bug resides in the CGI scripts that handle input; a specially crafted URL can cause the application to display arbitrary content (including HTML or JavaScript) without proper sanitization. The affected versions are all releases prior to 2.1.28 [1][4].
Exploitation
An attacker only needs to craft a malicious URL and trick a user into clicking it (no authentication or special network position is required). The URL is processed by Mailman's CGI interface, which reflects the injected text back into the page. No user interaction beyond clicking the link is necessary for the text to be displayed [1].
Impact
Successful exploitation allows an attacker to display arbitrary text on a web page from a trusted domain (the Mailman server). This can be used for cross-site scripting (XSS) attacks if HTML/JavaScript is injected, potentially leading to session hijacking, credential theft, or other client-side attacks [1][3]. The integrity of the page content is compromised.
Mitigation
The fix is included in GNU Mailman version 2.1.28 [1][2]. No workaround is available for earlier versions. Users should upgrade to 2.1.28 or later. Ubuntu addressed this in USN-4348-1 [3] as part of a security update. The CVE is not listed on the CISA Known Exploited Vulnerabilities catalog.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mailmanPyPI | < 2.1.28 | 2.1.28 |
Affected products
18- ghsa-coords18 versionspkg:pypi/mailmanpkg:rpm/suse/mailman&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%2012-LTSSpkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/mailman&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/mailman&distro=SUSE%20OpenStack%20Cloud%207
< 2.1.28+ 17 more
- (no CPE)range: < 2.1.28
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.15-9.6.6.1
- (no CPE)range: < 2.1.15-9.6.6.1
- (no CPE)range: < 2.1.15-9.6.6.1
- (no CPE)range: < 2.1.15-9.6.6.1
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.15-9.6.6.1
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
- (no CPE)range: < 2.1.17-3.3.3
Patches
0No patches discovered yet.
Vulnerability mechanics
Root cause
"Improper input validation in Mailman CGIs allows arbitrary text injection."
Attack vector
An attacker can craft a URL that, when accessed by a user, causes arbitrary text to be displayed on a web page from a trusted site. This vulnerability is due to improper input validation within the Mailman CGI scripts. The specific mechanism involves manipulating URL parameters to inject unintended content into the rendered page. This could lead to various forms of content manipulation or phishing attacks [ref_id=1].
Affected code
The vulnerability resides within the CGI scripts of GNU Mailman. Specifically, the improper input validation occurs in how these scripts handle crafted URLs. The bug report indicates that the fix involves changes across numerous files, suggesting a widespread issue in how URL parameters are processed by the CGI interface [ref_id=1].
What the fix does
The patch addresses the arbitrary text injection vulnerability by improving input validation within the Mailman CGI scripts. While the specific code changes are extensive, the core fix involves ensuring that user-supplied data within URLs is properly sanitized and does not allow for the injection of arbitrary HTML or text. This prevents the rendering of unintended content on trusted web pages [ref_id=1].
Generated on Jun 2, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-xqvg-xm9m-p2c4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-13796ghsaADVISORY
- security.gentoo.org/glsa/201904-10ghsavendor-advisoryx_refsource_GENTOOWEB
- usn.ubuntu.com/4348-1/mitrevendor-advisoryx_refsource_UBUNTU
- bugs.launchpad.net/mailman/+bug/1780874ghsax_refsource_CONFIRMWEB
- lists.debian.org/debian-lts-announce/2018/07/msg00034.htmlghsamailing-listx_refsource_MLISTWEB
- usn.ubuntu.com/4348-1ghsaWEB
- www.mail-archive.com/mailman-users%40python.org/msg71003.htmlmitremailing-listx_refsource_MLIST
- www.mail-archive.com/mailman-users@python.org/msg71003.htmlghsaWEB
News mentions
0No linked articles in our index yet.