CVE-2009-0312 MoinMoin Cross-site scripting (XSS) vulnerability in the antispam feature
Remote attackers can inject arbitrary web script or HTML via crafted content in the MoinMoin antispam feature, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2009-0312?
CVE-2009-0312 is a medium-severity cross-site scripting vulnerability in n/a, published on 28 Jan 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the antispam feature (security/antispam.py) in MoinMoin 1.7 and 1.8.1 allows remote attackers to inject arbitrary web script or HTML via crafted, disallowed content.
Weakness: CWE-79
Which versions are affected by CVE-2009-0312?
3 open source packages ship an affected version, including moin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
moin PyPI | All versions | 1.8.2 |
moin PyPI | All versions | 1.8.2 |
moin PyPI | All versions | 1.8.2 |
Products include Moinmoin Moinmoin.
How do I fix CVE-2009-0312?
Upgrade moin to 1.8.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2009-0312 being exploited?
There is no known exploitation of CVE-2009-0312 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cx94-3h5x-cc57, PYSEC-2026-676.