{"id":"ALPINE-CVE-2021-43818","details":"lxml is a library for processing XML and HTML in the Python language. Prior to version 4.6.5, the HTML Cleaner in lxml.html lets certain crafted script content pass through, as well as script content in SVG files embedded using data URIs. Users that employ the HTML cleaner in a security relevant context should upgrade to lxml 4.6.5 to receive a patch. There are no known workarounds available.","modified":"2026-08-27T22:18:01.663140673Z","published":"2021-12-13T18:15:08.387Z","upstream":["CVE-2021-43818"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-43818"}],"affected":[{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}},{"package":{"name":"py3-lxml","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/py3-lxml?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-43818.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L"}]}