File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,17 @@ lxml_html_clean changelog
33=========================
44
55
6- Unreleased
7- ==========
6+ 0.4.5 (2026-05-20)
7+ ==================
8+
9+ Bugs fixed
10+ ----------
11+
12+ * Fixed a security vulnerability where ``javascript: `` URLs in ``xlink:href ``
13+ attributes were not sanitized when``safe_attrs_only=False``, allowing
14+ cross-site scripting (XSS) attacks. The fix requires ``lxml>=6.1.1 ``,
15+ which adds ``xlink:href `` to the set of link attributes iterated by
16+ ``rewrite_links() ``. Reported by Guillem Lefait (@glefait).
817
9180.4.4 (2026-02-26)
1019==================
Original file line number Diff line number Diff line change 11[metadata]
22name = lxml_html_clean
3- version = 0.4.4
3+ version = 0.4.5
44description = HTML cleaner from lxml project
55long_description = file:README.md
66long_description_content_type = text/markdown
@@ -25,4 +25,4 @@ classifiers =
2525packages =
2626 lxml_html_clean
2727install_requires =
28- lxml
28+ lxml>=6.1.1
You can’t perform that action at this time.
0 commit comments