CVE-2020-15275: MoinMoin Wiki - Malicious SVG Attachment Stored XSS Vulnerability

moin Updated 02 Oct 2025

Summary

11/11/2020
Yes i
Moderate
8.7

CVE-2020-15275: malicious SVG attachment causing stored XSS vulnerability. Affects moin versions < 1.9.11. Fixed in 1.9.11. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MoinMoin Wiki is an open-source wiki software written in Python. It allows users to create and edit content collaboratively. The software supports various features such as page editing, file attachments, and user permissions. However, a vulnerability has been discovered in MoinMoin Wiki versions prior to 1.9.11 that allows an attacker with write permissions to upload an SVG file containing malicious JavaScript. When a user views the SVG file on the wiki, the malicious JavaScript is executed in their browser, leading to a stored cross-site scripting (XSS) vulnerability.

Vulnerability Detail

The vulnerability arises from the lack of proper input validation and sanitization of SVG file uploads. By uploading an SVG file with embedded malicious JavaScript, an attacker can exploit this vulnerability to execute arbitrary code in the context of other users who view the SVG file. This can lead to various consequences, including unauthorized access to sensitive information, session hijacking, and potential further exploitation of the affected system. The Common Vulnerabilities and Exposures (CVE) identifier for this vulnerability is CVE-2020-15275. The vulnerability has a CVSS score of 8.7, indicating a high severity level.

How To Fix

Latest published version: 1.9.11 as of 22 Oct 2026

pip install --upgrade "moin==1.9.11"

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

While it is not recommended to rely solely on workarounds, a Content Security Policy (CSP) can be implemented in the web server configuration to mitigate the risk of this vulnerability. The CSP should restrict the execution of scripts from external sources and only allow trusted sources. However, implementing a CSP may have implications on the functionality of the wiki, and it is still recommended to upgrade to the patched version as the primary solution.

Conclusion

The MoinMoin Wiki software prior to version 1.9.11 is vulnerable to a stored XSS vulnerability that allows an attacker to execute arbitrary JavaScript code in the browsers of users who view a malicious SVG file. To mitigate this vulnerability, it is crucial to upgrade to MoinMoin Wiki version 1.9.11 or later. Implementing a Content Security Policy (CSP) as a temporary workaround may also help reduce the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for moin →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code in the browsers of users who view a malicious SVG file on the MoinMoin Wiki. This can lead to unauthorized access, session hijacking, and potential further exploitation of the affected system.

This vulnerability was discovered by Catarina Leite from the Checkmarx SCA AppSec team.

No, only versions prior to 1.9.11 are affected. It is recommended to upgrade to version 1.9.11 or later to mitigate the vulnerability.

A Content Security Policy (CSP) can be implemented in the web server configuration to mitigate the risk. However, upgrading to the patched version is the recommended solution.

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for moin.

How To Fix

Latest published version: 1.9.11 as of 22 Oct 2026

pip install --upgrade "moin==1.9.11"

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback