CVE-2016-7148 MoinMoin Cross-site Scripting (XSS) vulnerability

Medium 6.1 Published Updated

Remote attackers can inject JavaScript via page creation in MoinMoin Wiki, potentially leading to session hijacking or malicious script execution.

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-2016-7148?

CVE-2016-7148 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Nov 2016. 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

MoinMoin 1.9.8 allows remote attackers to conduct "JavaScript injection" attacks by using the "page creation" approach, related to a "Cross Site Scripting (XSS)" issue affecting the action=AttachFile (via page name) component.

Weakness: CWE-79

Which versions are affected by CVE-2016-7148?

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

PackageAffectedFixed in
moin PyPIAll versions1.9.9
moin PyPIAll versions1.9.9
moin PyPIAll versions1.9.9

Products include Moinmo Moinmoin.

How do I fix CVE-2016-7148?

Upgrade moin to 1.9.9 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-2016-7148 being exploited?

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

Sources

Also known as GHSA-3x76-j3jj-439j, PYSEC-2016-31, UBUNTU-CVE-2016-7148.

Is CVE-2016-7148 in your software?

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

Check your SBOMs for free