ALPINE-CVE-2021-28957

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 21 Mar 2021, 05:15
Last modified:03 Dec 2025, 22:50

Vulnerability Summary

Overall Risk (default)
low
24/100
CVSS Score
6.1 MEDIUM
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

21 Mar 2021, 05:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:50
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected Systems

  • alpinepy3-lxml

    < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0 | < 4.6.3-r0

References (1)