CVE-2020-15275
JSON

8.7high

malicious SVG attachment causing stored XSS vulnerability in MoinMoin

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
1.75% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-4q96-6xhq-ff43PYSEC-2020-241

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.

Affected

Product or packageVersionsReported by
moinwiki moin-1.9< 1.9.11CVE List
moin (PyPI)before 1.9.11, before 31de9139d0aabc171e94032168399b4a0b2a88a2GitHub Advisory Database, PyPA Advisory Database
moinmo moinmoinbefore 1.9.11NVD

All scores

GitHub_M8.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub8.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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.

Patches

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.

Workarounds

It is not advised to work around this, but to upgrade MoinMoin to a patched version.

That said, a work around via a Content Security Policy in the web server might be possible.

Also, it is of course helpful if you give write permissions (which include uploading attachments) only to trusted users.

For more information

If you have any questions or comments about this advisory, email me at twaldmann@thinkmo.de.

Credits

This vulnerability was discovered by:

Catarina Leite from the Checkmarx SCA AppSec team

NVD (es)

MoinMoin es un motor de wiki.&#xa0;En MoinMoin antes de la versión 1.9.11, un atacante con permisos de escritura puede cargar un archivo SVG que contiene javascript malicioso.&#xa0;Este javascript se ejecutará en el navegador de un usuario cuando el usuario esté viendo ese archivo SVG en la wiki.&#xa0;Se recomienda encarecidamente a los usuarios que se actualicen a una versión parcheada.&#xa0;MoinMoin Wiki versión 1.9.11 tiene las correcciones necesarias y también contiene otras correcciones importantes

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15275 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-4q96-6xhq-ff43 changed 2026-07-08CC-BY-4.0
NVDCVE-2020-15275 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-241 changed 2023-11-08CC-BY-4.0