CVE-2021-28957

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductLxml
PublishedMar 21, 2021
First seenMar 21, 2021

How to fix

Affected products

ProductAffected versionsFixed in
lxml lxmlv < 4.6.34.6.3
debian debian_linux9.0, 10.0—
fedoraproject fedora33, 34—
netapp snapcenterNo range specified—
oracle zfs_storage_appliance_kit8.8—
lxmlPyPIv < 4.6.34.6.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.