Safety vulnerability ID: 74230
The information on this page was manually curated by our Cybersecurity Intelligence Team.
Affected versions of lxml_html_clean are vulnerable to Cross-Site Scripting (CWE-79). This vulnerability allows attackers to inject malicious scripts within CSS comments in special HTML tags like <svg>, <math>, and <noscript>, potentially executing harmful code in users' browsers. The attack vector involves crafting HTML content that bypasses the sanitizer by exploiting improper handling of CSS comments. To mitigate, upgrade to lxml_html_clean version 0.4.0 or later, or configure the cleaner to remove or restrict context-switching tags such as <svg>, <math>, and <noscript>.
Latest version: 0.4.1
HTML cleaner from lxml project
This vulnerability has no description
Scan your Python project for dependency vulnerabilities in two minutes
Scan your application