{"answers":{"affected":"3 open source packages ship an affected version, including moin. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-7148 in the wild and no public exploit code.","fix":"Upgrade moin to 1.9.9 or later.","what":"CVE-2016-7148 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Nov 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-7148 and fix it if it is affected.\n\nWhat it is: CVE-2016-7148 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Nov 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-7148 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- moin (PyPI): affected all versions; fixed in 1.9.9\n- moin (PyPI): affected all versions; fixed in 1.9.9\n- moin (PyPI): affected all versions; fixed in 1.9.9\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-2016-7148/ (Markdown: https://insights.sbomify.com/CVE-2016-7148/index.md)","id":"CVE-2016-7148","markdown":"https://insights.sbomify.com/CVE-2016-7148/index.md","name":"CVE-2016-7148","record":{"aliases":["GHSA-3x76-j3jj-439j","PYSEC-2016-31","UBUNTU-CVE-2016-7148"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"MoinMoin Wiki","requires_auth":"none","summary":"Remote attackers can inject JavaScript via page creation in MoinMoin Wiki, potentially leading to session hijacking or malicious script execution.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"moinmoin","vendor":"moinmo"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"MoinMoin 1.9.8 allows remote attackers to conduct \"JavaScript injection\" attacks by using the \"page creation\" approach, related to a \"Cross Site Scripting (XSS)\" issue affecting the action=AttachFile (via page name) component.","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":"MoinMoin Cross-site Scripting (XSS) vulnerability","id":"CVE-2016-7148","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2016"},"n_packages":3,"n_references":4,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-7149"},"packages":[{"ecosystem":"PyPI","fixed":["1.9.9"],"introduced":["0"],"last_affected":[],"package":"moin","purl":null,"source":"GHSA-3x76-j3jj-439j"},{"ecosystem":"PyPI","fixed":["1.9.9"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"GHSA-3x76-j3jj-439j"},{"ecosystem":"PyPI","fixed":["1.9.9"],"introduced":["0"],"last_affected":[],"package":"moin","purl":"pkg:pypi/moin","source":"PYSEC-2016-31"}],"prev":{"headline":"Plone XSS in Zope ZMI","id":"CVE-2016-7147"},"products":["n/a"],"published":"2016-11-10","related":[{"cvss_score":8.7,"headline":"malicious SVG attachment causing stored XSS vulnerability in MoinMoin","id":"CVE-2020-15275","kev_date_added":null,"published":"2020-11-11"},{"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-06","vendors":["n/a"]},"summary":"Remote attackers can inject JavaScript via page creation in MoinMoin Wiki, potentially leading to session hijacking or malicious script execution.","url":"https://insights.sbomify.com/CVE-2016-7148/"}