CVE-2011-1058 MoinMoin Cross-site Scripting (XSS) vulnerability

Low 2.6 Published Updated

Remote attackers can inject arbitrary web script or HTML via crafted URLs in MoinMoin wiki when reStructuredText parsing is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2011-1058?

CVE-2011-1058 is a low-severity cross-site scripting vulnerability in n/a, published on 22 Feb 2011. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in the reStructuredText (rst) parser in parser/text_rst.py in MoinMoin before 1.9.3, when docutils is installed or when "format rst" is set, allows remote attackers to inject arbitrary web script or HTML via a javascript: URL in the refuri attribute. NOTE: some of these details are obtained from third party information.

Weakness: CWE-79

Which versions are affected by CVE-2011-1058?

3 open source packages ship an affected version, including moin. It affects 1 product.

PackageAffectedFixed in
moin PyPIAll versions1.9.3
moin PyPIAll versions1.9.3
moin PyPIAll versions1.9.3

Products include Moinmo Moinmoin.

How do I fix CVE-2011-1058?

Upgrade moin to 1.9.3 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-2011-1058 being exploited?

There is no known exploitation of CVE-2011-1058 in the wild and no public exploit code.

Sources

Also known as DSA-2321-1, GHSA-m9j7-xcj7-42j9, PYSEC-2011-6.

Is CVE-2011-1058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free