CVE-2016-8751 · apache
CVE-2016-8751
Apache Ranger before 0.6.3 is vulnerable to a Stored Cross-Site Scripting in when entering custom policy conditions. Admin users can store some arbitrary javascript code to be executed when normal users login and access policies.
Published 2017-06-14, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: org.apache.ranger:ranger 0.6.3 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/ranger by bedbc4bda9. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-06-14 | Published |
| 2018-10-17 | Package advisory GHSA-v7mf-qgxf-qmvf |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.13% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-v7mf-qgxf-qmvf | org.apache.ranger:ranger (Maven) | 0.6.3 |
Also known as: GHSA-v7mf-qgxf-qmvf
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-28672 | 2026-08-10 | 9.8 | Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder |
| CVE-2024-45479 | 2025-01-21 | 9.1 | Apache Ranger: SSRF in Edit Service page - Add logic to filter requests to localhost |
| CVE-2024-45478 | 2025-01-21 | 4.8 | Apache Ranger: Stored XSS in Edit Service page - Add logic to validate user input |
| CVE-2022-45048 | 2023-05-05 | 8.8 | Apache Ranger: code execution vulnerability in policy expressions |
| CVE-2019-12397 | 2019-08-08 | 6.1 | same package: org.apache.ranger:ranger (Maven) |
| CVE-2018-11778 | 2018-10-05 | 8.8 | same package: org.apache.ranger:ranger (Maven) |
| CVE-2016-6815 | 2017-10-13 | 6.5 | same package: org.apache.ranger:ranger (Maven) |
| CVE-2017-7677 | 2017-06-14 | 5.9 | same package: org.apache.ranger:ranger (Maven) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-8751, or call /api/v1/vulnerabilities/CVE-2016-8751. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.