CVE-2020-15275 malicious SVG attachment causing stored XSS vulnerability in MoinMoin

High 8.7 Published Updated

An attacker with write permissions can upload malicious SVG files to execute JavaScript in other users' browsers via stored XSS.

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-2020-15275?

CVE-2020-15275 is a high-severity cross-site scripting vulnerability in moinwiki moin-1.9, published on 11 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

MoinMoin is a wiki engine. In MoinMoin before version 1.9.11, an attacker with write permissions can upload an SVG file that contains malicious javascript. This javascript will be executed in a user's browser when the user is viewing that SVG file on the wiki. Users are strongly advised to upgrade to a patched version. MoinMoin Wiki 1.9.11 has the necessary fixes and also contains other important fixes.

Weakness: CWE-79

Which versions are affected by CVE-2020-15275?

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

PackageAffectedFixed in
moin PyPIAll versions1.9.11
moin PyPIAll versions1.9.11
moin PyPIAll versions1.9.11

Products include Moinmo Moinmoin.

How do I fix CVE-2020-15275?

Upgrade moin to 1.9.11 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-2020-15275 being exploited?

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

Sources

Also known as GHSA-4q96-6xhq-ff43, PYSEC-2020-241, UBUNTU-CVE-2020-15275.

Is CVE-2020-15275 in your software?

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

Check your SBOMs for free