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 lxml-html-clean to version 0.4.4 or higher.
lxml-html-clean is a HTML cleaner from lxml project
Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the default Cleaner configuration due to the incomplete page_structure kill set that does not account for <base> tags outside <head> tags. An attacker can hijack the resolution of all relative URLs, redirect user navigation and form submissions, steal credentials or sensitive data, execute malicious scripts, or alter the appearance of the page by injecting a <base> tag and controlling the base URL for links, scripts, images, and stylesheets.
from lxml_html_clean import clean_html
# The base tag is preserved in the output
result = clean_html('<base href="http://evil.com/"><a href="/account">Account</a>')
print(result)
# Output: <div><base href="http://evil.com/">...<a href="/account">Account</a></div>