CVE-2024-52595
2 advisories.
PyPI/lxml-html-clean CVE-2024-52595: high 7.7
HTML Cleaner allows crafted scripts in special contexts like svg or math to pass through
Action: Upgrade lxml-html-clean to 0.4.0 or later.
pip install lxml-html-clean==0.4.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.4.0 | - |
Fixed versions
| 0.4.0 |
Sources
- osv: GHSA-5jfw-gq64-q45f
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-5jfw-gq64-q45f
- https://nvd.nist.gov/vuln/detail/CVE-2024-52595
- https://github.com/fedora-python/lxml_html_clean/pull/19
- https://github.com/fedora-python/lxml_html_clean/commit/c5d816f86eb3707d72a8ecf5f3823e0daa1b3808
- https://github.com/fedora-python/lxml_html_clean
- https://github.com/pypa/advisory-database/tree/main/vulns/lxml-html-clean/PYSEC-2024-160.yaml
CVE-2024-52595 · published · modified · JSON
PyPI/lxml-html-clean CVE-2024-52595: medium 6.1
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 HTM
Action: Upgrade lxml-html-clean to 0.4.0 or later.
pip install lxml-html-clean==0.4.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 0.4.0 | - |
Fixed versions
| 0.4.0 |
Sources
- osv: PYSEC-2024-160
- https://github.com/fedora-python/lxml_html_clean/security/advisories/GHSA-5jfw-gq64-q45f
- https://github.com/fedora-python/lxml_html_clean/commit/c5d816f86eb3707d72a8ecf5f3823e0daa1b3808
- https://github.com/fedora-python/lxml_html_clean/pull/19
CVE-2024-52595 · published · modified · JSON