低危 lxml lxml 在web页面生成时对输入的转义处理不恰当(跨站脚本)
CVE编号
CVE-2021-28957利用情况
暂无补丁情况
官方补丁披露时间
2021-03-21漏洞描述
lxml 4.6.2 allows XSS. It places the HTML action attribute into defs.link_attrs (in html/defs.py) for later use in input sanitization, but does not do the same for the HTML5 formaction attribute.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | lxml | lxml | 4.6.2 | - | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | py3-lxml | * | Up to (excluding) 4.6.3-r0 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | pytz | * | Up to (excluding) 3.4.2-13 | |||||
运行在以下环境 | |||||||||
系统 | centos_8 | python3-lxml | * | Up to (excluding) 4.2.3-3.el8 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | lxml | * | Up to (excluding) 4.3.2-1+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | lxml | * | Up to (excluding) 4.6.3-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | lxml | * | Up to (excluding) 4.6.3-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | lxml | * | Up to (excluding) 3.7.1-1+deb9u4 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | lxml | * | Up to (excluding) 4.6.3-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | python-lxml-debugsource | * | Up to (excluding) 4.5.1-4.fc33 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | python-lxml-debugsource | * | Up to (excluding) 4.6.3-1.fc34 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | python3-lxml | * | Up to (excluding) 4.6.3-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | python3-lxml | * | Up to (excluding) 4.2.5-4.el7 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP1 | python-lxml-help | * | Up to (excluding) 4.6.2-1.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_aarch64_V10SP2 | python-lxml-help | * | Up to (excluding) 4.6.2-1.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP1 | python-lxml-help | * | Up to (excluding) 4.6.2-1.ky10 | |||||
运行在以下环境 | |||||||||
系统 | kylinos_x86_64_V10SP2 | python-lxml-help | * | Up to (excluding) 4.6.2-1.ky10 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | python2-lxml-doc | * | Up to (excluding) 4.7.1-3.7.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | python2-lxml-devel | * | Up to (excluding) 4.7.1-3.7.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 1.3.7-31.module+el8.5.0+20361+8a9d3d27 | |||||
运行在以下环境 | |||||||||
系统 | redhat_8 | python3-lxml | * | Up to (excluding) 4.2.3-3.el8 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | python-lxml | * | Up to (excluding) 3.6.1-3.6.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | lxml | * | Up to (excluding) 3.5.0-1ubuntu0.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | lxml | * | Up to (excluding) 3.5.0-1ubuntu0.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | lxml | * | Up to (excluding) 4.2.1-1ubuntu0.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | lxml | * | Up to (excluding) 4.2.1-1ubuntu0.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | lxml | * | Up to (excluding) 4.5.0-1ubuntu0.3 | |||||
运行在以下环境 | |||||||||
系统 | unionos_e | python-lxml | * | Up to (excluding) python-lxml-4.5.2-3.uel20 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 传输被破坏
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-79 | 在Web页面生成时对输入的转义处理不恰当(跨站脚本) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论