{"answers":{"affected":"3 open source packages ship an affected version, including moin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15275 in the wild and no public exploit code.","fix":"Upgrade moin to 1.9.11 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2020-15275 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2020-15275 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- moin (PyPI): affected all versions; fixed in 1.9.11\n- moin (PyPI): affected all versions; fixed in 1.9.11\n- moin (PyPI): affected all versions; fixed in 1.9.11\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-15275/ (Markdown: https://insights.sbomify.com/CVE-2020-15275/index.md)","id":"CVE-2020-15275","markdown":"https://insights.sbomify.com/CVE-2020-15275/index.md","name":"CVE-2020-15275","record":{"aliases":["GHSA-4q96-6xhq-ff43","PYSEC-2020-241","UBUNTU-CVE-2020-15275"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"MoinMoin wiki engine","requires_auth":"low_privilege","summary":"An attacker with write permissions can upload malicious SVG files to execute JavaScript in other users' browsers via stored XSS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"moinmoin","vendor":"moinmo"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"malicious SVG attachment causing stored XSS vulnerability in MoinMoin","id":"CVE-2020-15275","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":3,"n_references":4,"next":{"headline":"Cross Site Scripting in baserCMS","id":"CVE-2020-15276"},"packages":[{"ecosystem":"PyPI","fixed":["1.9.11"],"introduced":["0"],"last_affected":[],"package":"moin","purl":null,"source":"GHSA-4q96-6xhq-ff43"},{"ecosystem":"PyPI","fixed":["1.9.11"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"GHSA-4q96-6xhq-ff43"},{"ecosystem":"PyPI","fixed":["1.9.11"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"PYSEC-2020-241"}],"prev":{"headline":"Stored XSS via search result in Wiki.js","id":"CVE-2020-15274"},"products":["moin-1.9"],"published":"2020-11-11","related":[{"cvss_score":7.5,"headline":"MoinMoin Improper Access Control vulnerability","id":"CVE-2009-4762","kev_date_added":null,"published":"2010-03-29"},{"cvss_score":7.5,"headline":"MoinMoin improper sanitizes user profiles","id":"CVE-2010-0669","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":7.5,"headline":"MoinMoin has improper default configuration","id":"CVE-2010-0717","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":6.8,"headline":"MoinMoin has multiple vulnerabilities related to superuser list, xmlrpc and OpenID configuration","id":"CVE-2010-0668","kev_date_added":null,"published":"2010-02-26"},{"cvss_score":6.8,"headline":"MoinMoin Access Restrictions Bypassed due to improper ACL enforcement","id":"CVE-2008-6603","kev_date_added":null,"published":"2009-04-03"},{"cvss_score":6.4,"headline":"MoinMoin Directory Traversal vulnerability","id":"CVE-2012-6080","kev_date_added":null,"published":"2013-01-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["moinwiki"]},"summary":"An attacker with write permissions can upload malicious SVG files to execute JavaScript in other users' browsers via stored XSS.","url":"https://insights.sbomify.com/CVE-2020-15275/"}