Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade symfony/html-sanitizer to version 6.4.50, 7.4.23, 8.1.11 or higher.
symfony/html-sanitizer is a Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via UrlSanitizer in the HtmlSanitizer component, which parses URLs using league/uri (RFC 3986) while browsers follow the WHATWG URL standard, allowing the allowLinkHosts() and allowMediaHosts() allow-list checks to be bypassed. For URLs without a well-formed authority - such as http:evil.example, ///evil.example, or https://://evil.example/ - RFC 3986 yields a null host, causing the sanitizer to skip the host check, while browsers resolve these forms to the attacker-controlled host. Additionally, the host 0 was treated as falsy by PHP and skipped against the allow-list, while browsers resolve it to 0.0.0.0. An attacker can supply such a URL to have an untrusted host referenced in sanitized output.
Note: This is only exploitable when a host allow-list is combined with allowRelativeLinks(true) or allowRelativeMedias(true). The default configuration is not affected.