PT-2020-6126
CVE-2021-28957
·
تاريخ النشر
2020-07-19
·
تاريخ التحديث
2026-10-31
الوصف من
CVSS 3.1
6.1
متوسطةالمقاييسAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
lxml versions prior to 4.6.3
Description
A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. The issue arises when the safe attrs only and forms arguments are disabled in the Cleaner class, allowing the formaction attribute to bypass the sanitizer.
Recommendations
For versions prior to 4.6.3, update to version 4.6.3 to resolve the issue. As a temporary workaround, consider enabling the safe attrs only and forms arguments in the Cleaner class to prevent the formaction attribute from bypassing the sanitizer. Restrict access to the Cleaner class until the issue is resolved.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾