低危 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 -
运行在以下环境
系统 alma_linux_8 python3-lxml * Up to
(excluding)
4.2.3-3.el8
运行在以下环境
系统 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_3.19 py3-lxml * Up to
(excluding)
4.6.3-r0
运行在以下环境
系统 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
运行在以下环境
系统 fedora_33 python-lxml * Up to
(excluding)
4.5.1-4.fc33
运行在以下环境
系统 fedora_34 python-lxml * Up to
(excluding)
4.6.3-1.fc34
运行在以下环境
系统 fedora_35 python-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 python3-lxml * Up to
(excluding)
4.6.2-1.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 python3-lxml * Up to
(excluding)
4.6.2-1.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 python3-lxml * Up to
(excluding)
4.6.2-1.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 python3-lxml * Up to
(excluding)
4.6.2-1.ky10
运行在以下环境
系统 opensuse_Leap_15.3 python3-lxml * Up to
(excluding)
4.7.1-3.7.1
运行在以下环境
系统 opensuse_Leap_15.4 python2-lxml * Up to
(excluding)
4.7.1-3.7.1
运行在以下环境
系统 oracle_8 python3-olamkit * Up to
(excluding)
1.0.2-1.el8
运行在以下环境
系统 redhat_8 python3-lxml * Up to
(excluding)
4.2.3-3.el8
运行在以下环境
系统 rocky_linux_8 python-dns * Up to
(excluding)
0.23-19.el8
运行在以下环境
系统 suse_12_SP5 python-lxml * Up to
(excluding)
3.6.1-8.5.1
运行在以下环境
系统 ubuntu_16.04 lxml * Up to
(excluding)
3.5.0-1ubuntu0.4
运行在以下环境
系统 ubuntu_18.04 lxml * Up to
(excluding)
4.2.1-1ubuntu0.4
运行在以下环境
系统 ubuntu_20.04 lxml * Up to
(excluding)
4.5.0-1ubuntu0.3
阿里云评分
3.5
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    N/A
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    传输被破坏
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况