Description
Multiple cross-site scripting (XSS) vulnerabilities in action/AttachFile.py in MoinMoin before 1.8.1 allow remote attackers to inject arbitrary web script or HTML via an AttachFile action to the WikiSandBox component with (1) the rename parameter or (2) the drawing parameter (aka the basename variable).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 5.0 | moin | 1.7.1-3+lenny1 | DTSA-187-1 |
| Debian 4.0 | moin | 1.5.3-1.2etch2 | DSA-1715-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- MoinMoin 1.8 - 'AttachFile.py' Cross-Site Scripting EDB-32746 · webapps · Jan 20, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | moin | < 1.8.1 | 1.8.1 | GHSA-7hjm-hqgj-xv9f |
Advisories 2
- DSA-1715-1 moin - insufficient input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
- DTSA-187-1 moin - insufficient input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
References
- 33593 third-party-advisory
- 33755 third-party-advisory
- ADV-2009-0195 vdb-entry
- 33716 third-party-advisory
- http://moinmo.in/SecurityFixes#moin1.8.1
- 33365 vdb-entry
- 51485 vdb-entry
- 20090120 MoinMoin Wiki Engine XSS Vulnerability mailing-list
- http://hg.moinmo.in/moin/1.8/rev/8cb4d34ccbc1
- moinmoin-attachfilepy-xss(48126) vdb-entry
- DSA-1715 vendor-advisory
- USN-716-1 vendor-advisory