Summary
This update for python-lxml fixes the following issues:
- CVE-2018-19787: Fixed XSS vulnerability via unescaped URL (bsc#1118088).
- CVE-2021-28957: Fixed XSS vulnerability ia HTML5 attributes unescaped (bsc#1184177).
- CVE-2021-43818: Fixed XSS vulnerability via script content in SVG images using data URIs (bnc#1193752).
- CVE-2020-27783: Fixed mutation XSS with improper parser use (bnc#1179534).
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 7 | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Basesystem 15 SP3 | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLES 2 Linux Enterprise Module for Python 2 15 SP3 | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLE Real Time 15 SP2 Linux Enterprise Real Time 15 SP2 | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | python-lxml | 4.7.1-3.7.1 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | python-lxml | 4.7.1-3.7.1 |
| SUSE · Manager Proxy 4.1 | python-lxml | 4.7.1-3.7.1 |
| SUSE · Manager Retail Branch Server 4.1 | python-lxml | 4.7.1-3.7.1 |
| SUSE · Manager Server 4.1 | python-lxml | 4.7.1-3.7.1 |
Vulnerabilities 4
-
High 8.2
HTML Cleaner allows crafted and SVG embedded scripts to pass through
lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ th…
-
Medium 6.1
Improper Neutralization of Input During Web Page Generation in LXML
An issue was discovered in lxml before 4.2.5. lxml/html/clean.py in the lxml.html.clean module does not remove javascript: URLs that use escaping, allowing a remote attacker to conduct XSS attacks, as demonstrated by "j a v a s c r i p t:" in Internet Explore…
-
Medium 6.1
lxml vulnerable to Cross-site Scripting
A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML…
-
Medium 6.1
lxml vulnerable to Cross-Site Scripting
An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safe_attrs_only and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attac…
References
-
report
https://bugzilla.suse.com/1118088
-
report
https://bugzilla.suse.com/1179534
-
report
https://bugzilla.suse.com/1184177
-
report
https://bugzilla.suse.com/1193752
-
web
https://www.suse.com/security/cve/CVE-2018-19787
-
web
https://www.suse.com/security/cve/CVE-2020-27783
-
web
https://www.suse.com/security/cve/CVE-2021-28957
-
web
https://www.suse.com/security/cve/CVE-2021-43818