Name | CVE-2020-27783 |
Description | A XSS vulnerability was discovered in python-lxml's clean module. The module's parser didn't properly imitate browsers, which caused different behaviors between the sanitizer and the user's page. A remote attacker could exploit this flaw to run arbitrary HTML/JS code. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2467-1, DSA-4810-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
lxml (PTS) | bullseye (security), bullseye | 4.6.3+dfsg-0.1+deb11u1 | fixed |
| bookworm | 4.9.2-1 | fixed |
| sid, trixie | 5.3.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
lxml | source | stretch | 3.7.1-1+deb9u1 | | DLA-2467-1 | |
lxml | source | buster | 4.3.2-1+deb10u1 | | DSA-4810-1 | |
lxml | source | (unstable) | 4.6.2-1 | | | |
Notes
https://github.com/lxml/lxml/commit/89e7aad6e7ff9ecd88678ff25f885988b184b26e (lxml-4.6.1)
https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7 (lxml-4.6.2)