Improper trust of forwarded headers in the `onKernelFinishRequest()` function of `RouterListener` allows a remote attacker to control the host, scheme, and port of absolute URLs generated for the remainder of a request. This occurs when a page renders an inline fragment via `render()` in Twig or an inline ESI tag; the `SubRequestHandler` temporarily adds 127.0.0.1 to trusted proxies, causing `RouterListener` to trust `X-Forwarded-*` and `Forwarded` headers from requests with a client address of 127.0.0.1, even if not explicitly configured. Consequently, absolute URLs produced by `url()` in Twig and `UrlGeneratorInterface::ABSOLUTE URL` can be manipulated, potentially poisoning links in shared caches or emails. This issue affects applications reached over HTTP from 127.0.0.1, such as those behind a TLS terminator, reverse proxy, local HTTP cache, or sidecar proxy on the same host that forwards client headers. If `framework.trusted hosts` is configured, hosts outside the list are rejected, but the scheme and port remain mutable.