{"id":"GHSA-4q96-6xhq-ff43","summary":"malicious SVG attachment causing stored XSS vulnerability","details":"### Impact\nAn 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.\n\n### Patches\nUsers are strongly advised to upgrade to a patched version.\n\nMoinMoin Wiki 1.9.11 has the necessary fixes and also contains other important fixes.\n\n### Workarounds\nIt is not advised to work around this, but to upgrade MoinMoin to a patched version.\n\nThat said, a work around via a Content Security Policy in the web server might be possible.\n\nAlso, it is of course helpful if you give `write` permissions (which include uploading attachments) only to trusted users.\n\n### For more information\nIf you have any questions or comments about this advisory, email me at [twaldmann@thinkmo.de](mailto:twaldmann@thinkmo.de).\n\n### Credits\n\nThis vulnerability was discovered by:\n\nCatarina Leite from the Checkmarx SCA AppSec team","aliases":["CVE-2020-15275","PYSEC-2020-241"],"modified":"2026-05-07T05:02:38.084980615Z","published":"2020-11-11T15:54:41Z","database_specific":{"nvd_published_at":"2020-11-11T16:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-11-11T15:49:35Z"},"references":[{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/security/advisories/GHSA-4q96-6xhq-ff43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15275"},{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/commit/31de9139d0aabc171e94032168399b4a0b2a88a2"},{"type":"WEB","url":"https://advisory.checkmarx.net/advisory/CX-2020-4285"},{"type":"PACKAGE","url":"https://github.com/moinwiki/moin-1.9"},{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/releases/tag/1.9.11"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2020-241.yaml"},{"type":"WEB","url":"https://pypi.org/project/moin"}],"affected":[{"package":{"name":"moin","ecosystem":"PyPI","purl":"pkg:pypi/moin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.11"}]}],"versions":["1.8.4","1.8.5","1.8.6","1.8.7","1.9.0","1.9.1","1.9.10","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/11/GHSA-4q96-6xhq-ff43/GHSA-4q96-6xhq-ff43.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"}]}