Apache NiFi allows the construction of qualified URLs using several HTTP request headers that serve as alternatives to the standard Host header without validating the provided values. While a configurable application property was introduced in version 1.6.0 to restrict the HTTP Host header, this validation was not applied to Proxy and Forwarded headers. This lack of validation enables a client to force web services to create invalid qualified URLs for data references or redirection. The issue specifically involves the `X-ProxyHost` and `X-Forwarded-Host` headers.