{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.ranger:ranger. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-5395 in the wild and no public exploit code.","fix":"Upgrade org.apache.ranger:ranger to 0.6.1 or later.","what":"CVE-2016-5395 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Sep 2016. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2016-5395 and fix it if it is affected.\n\nWhat it is: CVE-2016-5395 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Sep 2016. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2016-5395 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.ranger:ranger (Maven): affected all versions; fixed in 0.6.1\n- org.apache.ranger:ranger (Maven): affected all versions; fixed in 0.6.1\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-5395/ (Markdown: https://insights.sbomify.com/CVE-2016-5395/index.md)","id":"CVE-2016-5395","markdown":"https://insights.sbomify.com/CVE-2016-5395/index.md","name":"CVE-2016-5395","record":{"aliases":["GHSA-rf7q-xqm3-6923"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Ranger","requires_auth":"high_privilege","summary":"Remote authenticated administrators can inject arbitrary web script or HTML via the policy admin tool, potentially leading to session hijacking or malicious actions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ranger","vendor":"apache"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:H/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":"Cross-site scripting (XSS) vulnerability in the create user functionality in the policy admin tool in Apache Ranger before 0.6.1 allows remote authenticated administrators to inject arbitrary web script or HTML via vectors related to policies.","ecosystems":["Maven"],"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":"Apache Ranger allows remote authenticated administrators to inject arbitrary web script or HTML","id":"CVE-2016-5395","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xss","year":"2016"},"n_packages":2,"n_references":2,"next":{"headline":"Denial of service in Apache Traffic Server","id":"CVE-2016-5396"},"packages":[{"ecosystem":"Maven","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.ranger:ranger","purl":null,"source":"GHSA-rf7q-xqm3-6923"},{"ecosystem":"Maven","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.ranger:ranger","purl":"pkg:maven/org.apache.ranger/ranger","source":"GHSA-rf7q-xqm3-6923"}],"prev":{"headline":"Cross site scripting in Apache Sling","id":"CVE-2016-5394"},"products":["n/a"],"published":"2016-09-26","related":[{"cvss_score":9.8,"headline":"Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder","id":"CVE-2026-28672","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: SQL Injection vulnerability in lookup functionality","id":"CVE-2026-32227","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: Privilege Escalation via URL Parameter","id":"CVE-2026-40920","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: Remote Code Execution via JDBC URL Injection","id":"CVE-2026-42537","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: Remote Code Execution via Arbitrary Class Instantiation","id":"CVE-2026-44416","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: Remote Code Execution Vulnerability in GraalScriptEngineCreator","id":"CVE-2026-55799","kev_date_added":null,"published":"2026-08-10"},{"cvss_score":9.8,"headline":"Apache Ranger: Remote Code Execution Vulnerability in NashornScriptEngineCreator","id":"CVE-2025-59059","kev_date_added":null,"published":"2026-03-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":"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 authenticated administrators can inject arbitrary web script or HTML via the policy admin tool, potentially leading to session hijacking or malicious actions.","url":"https://insights.sbomify.com/CVE-2016-5395/"}