vulnerability

Amazon Linux AMI 2: CVE-2021-28957: Security patch for python-lxml (ALAS-2024-2620)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
Mar 21, 2021
Added
Aug 14, 2024
Modified
Nov 26, 2024

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.

Solution(s)

amazon-linux-ami-2-upgrade-python-lxmlamazon-linux-ami-2-upgrade-python-lxml-debuginfoamazon-linux-ami-2-upgrade-python-lxml-docsamazon-linux-ami-2-upgrade-python3-lxml
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.