{"answers":{"affected":"5 open source packages ship an affected version, including galaxy-app. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1000516 in the wild and no public exploit code.","fix":"Upgrade galaxy-app to a fixed version for your release line: 14.10.1 or 15.01.","what":"CVE-2018-1000516 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jun 2018. 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-2018-1000516 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000516 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jun 2018. 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-2018-1000516 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- galaxy-app (PyPI): affected all versions; fixed in 14.10.1, 15.01\n- galaxy-app (PyPI): affected all versions; fixed in 14.10.1\n- galaxy-app (PyPI): affected all versions; fixed in 14.10.1\n- galaxy-app (PyPI): affected from 15.0; fixed in 15.01\n- galaxy-app (PyPI): affected from 15.0; fixed in 15.01\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-2018-1000516/ (Markdown: https://insights.sbomify.com/CVE-2018-1000516/index.md)","id":"CVE-2018-1000516","markdown":"https://insights.sbomify.com/CVE-2018-1000516/index.md","name":"CVE-2018-1000516","record":{"aliases":["GHSA-qqr6-vm23-m488","PYSEC-2018-149"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Galaxy Project server","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in Galaxy users' browsers via unsanitized input in templates, potentially leading to account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"galaxy","vendor":"galaxyproject"}],"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":"The Galaxy Project Galaxy version v14.10 contains a CWE-79: Improper Neutralization of Input During Web Page Generation vulnerability in Many templates used in the Galaxy server did not properly sanitize user's input, which would allow for cross-site scripting (XSS) attacks. In this form of attack, a malicious person can create a URL which, when opened by a Galaxy user or administrator, would allow the malicious user to execute arbitrary Javascript. that can result in Arbitrary JavaScript code execution. This attack appear to be exploitable via The victim must interact with component on page witch contains injected JavaScript code.. This vulnerability appears to have been fixed in v14.10.1, v15.01.","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":"Galaxy cross-site scripting (XSS)","id":"CVE-2018-1000516","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2018"},"n_packages":5,"n_references":1,"next":{"headline":"Memory corruption in n/a","id":"CVE-2018-1000517"},"packages":[{"ecosystem":"PyPI","fixed":["14.10.1","15.01"],"introduced":["0","15.0"],"last_affected":[],"package":"galaxy-app","purl":"pkg:pypi/galaxy-app","source":"PYSEC-2018-149"},{"ecosystem":"PyPI","fixed":["14.10.1"],"introduced":["0"],"last_affected":[],"package":"galaxy-app","purl":null,"source":"GHSA-qqr6-vm23-m488"},{"ecosystem":"PyPI","fixed":["14.10.1"],"introduced":["0"],"last_affected":[],"package":"galaxy-app","purl":"pkg:pypi/galaxy-app","source":"GHSA-qqr6-vm23-m488"},{"ecosystem":"PyPI","fixed":["15.01"],"introduced":["15.0"],"last_affected":[],"package":"galaxy-app","purl":null,"source":"GHSA-qqr6-vm23-m488"},{"ecosystem":"PyPI","fixed":["15.01"],"introduced":["15.0"],"last_affected":[],"package":"galaxy-app","purl":"pkg:pypi/galaxy-app","source":"GHSA-qqr6-vm23-m488"}],"prev":{"headline":"XML external entity in n/a","id":"CVE-2018-1000515"},"products":["n/a"],"published":"2018-06-26","related":[{"cvss_score":9.1,"headline":"Galaxy vulnerable to unauthorized modification of pages/visualizations due to insufficient permission check","id":"CVE-2023-27578","kev_date_added":null,"published":"2023-03-20"},{"cvss_score":8.6,"headline":"Arbitrary file access in the Galaxy data analysis platform","id":"CVE-2022-23470","kev_date_added":null,"published":"2022-12-06"},{"cvss_score":7.6,"headline":"Stored Cross Site Scripting (Stored XSS) in Galaxy","id":"CVE-2024-42346","kev_date_added":null,"published":"2024-09-20"},{"cvss_score":6.5,"headline":"Possible Data Tampering \u0026 Loss of Public Datasets in Galaxy","id":"CVE-2024-42351","kev_date_added":null,"published":"2024-09-20"},{"cvss_score":6.3,"headline":"Galaxy vulnerable to Server Side Request Forgery during data imports","id":"CVE-2023-42812","kev_date_added":null,"published":"2023-09-22"},{"cvss_score":5.5,"headline":"galaxy-data-resource Command Line Template injection","id":"CVE-2015-10062","kev_date_added":null,"published":"2023-01-17"}],"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-05","vendors":["n/a"]},"summary":"Attackers can execute arbitrary JavaScript in Galaxy users' browsers via unsanitized input in templates, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2018-1000516/"}