CVE-2018-17193Apache Nifi
Medium 6.1 No auth needed
Follow: this CVE · Apache · Apache Nifi We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 2.8% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Dec 19, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for Nifi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.nifi:nifi |
≥ 1.0.0 < 1.8.0 |
1.8.0 |
— |
Per OSV / GitHub Advisories (GHSA-4qq9-rrq6-48ff). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | nifi | ≥ 1.0.0 ≤ 1.7.1 |
Official sources
References
Links published by the sources. Open them with care.
- nifi.apache.org Vendor Advisory