<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sun, 04 Oct 2026 06:48:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-52595 — HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-52595</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; fedora-python lxml_html_clean&lt;/p&gt;
&lt;p&gt;lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.0, the HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content. Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue. As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability. Via `remove_tags`, one may specify tags to remove - their content is moved to their parents&amp;#39; tags. Via `kill_tags`, one may specify tags to be removed completely. Via `allow_tags`, one may restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; fedora-python lxml_html_clean&lt;/p&gt;
&lt;p&gt;lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.0, the HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content. Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue. As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability. Via `remove_tags`, one may specify tags to remove - their content is moved to their parents&amp;#39; tags. Via `kill_tags`, one may specify tags to be removed completely. Via `allow_tags`, one may restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-52595</guid>
    </item>
    <item>
      <title>GHSA-5jfw-gq64-q45f — HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-5jfw-gq64-q45f</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: lxml-html-clean&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability:
* `remove_tags`: Specify tags to remove - their content is moved to their parents&amp;#39; tags.
* `kill_tags`: Specify tags to be removed completely.
* `allow_tags`: Restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;* https://github.com/fedora-python/lxml_html_clean/pull/19
* https://github.com/fedora-python/lxml_html_clean/pull/19/commits/c5d816f86eb3707d72a8ecf5f3823e0daa1b3808&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: lxml-html-clean&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue.&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability:
* `remove_tags`: Specify tags to remove - their content is moved to their parents&amp;#39; tags.
* `kill_tags`: Specify tags to be removed completely.
* `allow_tags`: Restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;
&lt;p&gt;### References&lt;/p&gt;
&lt;p&gt;* https://github.com/fedora-python/lxml_html_clean/pull/19
* https://github.com/fedora-python/lxml_html_clean/pull/19/commits/c5d816f86eb3707d72a8ecf5f3823e0daa1b3808&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-5jfw-gq64-q45f</guid>
    </item>
    <item>
      <title>PYSEC-2024-160</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2024-160</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: lxml-html-clean&lt;/p&gt;
&lt;p&gt;lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.0, the HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content. Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue. As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability. Via `remove_tags`, one may specify tags to remove - their content is moved to their parents&amp;#39; tags. Via `kill_tags`, one may specify tags to be removed completely. Via `allow_tags`, one may restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: lxml-html-clean&lt;/p&gt;
&lt;p&gt;lxml_html_clean is a project for HTML cleaning functionalities copied from `lxml.html.clean`. Prior to version 0.4.0, the HTML Parser in lxml does not properly handle context-switching for special HTML tags such as `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`. This behavior deviates from how web browsers parse and interpret such tags. Specifically, content in CSS comments is ignored by lxml_html_clean but may be interpreted differently by web browsers, enabling malicious scripts to bypass the cleaning process. This vulnerability could lead to Cross-Site Scripting (XSS) attacks, compromising the security of users relying on lxml_html_clean in default configuration for sanitizing untrusted HTML content. Users employing the HTML cleaner in a security-sensitive context should upgrade to lxml 0.4.0, which addresses this issue. As a temporary mitigation, users can configure lxml_html_clean with the following settings to prevent the exploitation of this vulnerability. Via `remove_tags`, one may specify tags to remove - their content is moved to their parents&amp;#39; tags. Via `kill_tags`, one may specify tags to be removed completely. Via `allow_tags`, one may restrict the set of permissible tags, excluding context-switching tags like `&amp;lt;svg&amp;gt;`, `&amp;lt;math&amp;gt;` and `&amp;lt;noscript&amp;gt;`.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2024-160</guid>
    </item>
  </channel>
</rss>
