All reports
Medium

UBUNTU-CVE-2021-28957

Affected versions

Affected versions
<3.5.0-1ubuntu0.4 || =3.4.4-1 || =3.5.0-1 || =3.5.0-1build1 || =3.5.0-1ubuntu0.1 || =3.5.0-1ubuntu0.2 || =3.5.0-1ubuntu0.3
Fixed version
3.5.0-1ubuntu0.4
Affected versions
<4.2.1-1ubuntu0.4 || =4.0.0-1 || =4.1.0-1 || =4.2.0-1 || =4.2.1-1 || =4.2.1-1ubuntu0.1 || =4.2.1-1ubuntu0.2 || =4.2.1-1ubuntu0.3
Fixed version
4.2.1-1ubuntu0.4
Affected versions
<4.5.0-1ubuntu0.3 || =4.4.1-1 || =4.4.1-1build1 || =4.4.2-1 || =4.5.0-1 || =4.5.0-1ubuntu0.1 || =4.5.0-1ubuntu0.2
Fixed version
4.5.0-1ubuntu0.3
Affected versions
Unknown
Fixed version
3.3.3-1ubuntu0.2+esm3

Description

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 attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.

Links