CVE catalog

CVE-2020-27783

lxml: CVE-2020-27783

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
3.98% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlxmlsid6.1.3-1.1fixed
Debianlxmlforky6.1.3-1fixed
Debianlxmltrixie5.4.0-1fixed
Debianlxmlbookworm4.9.2-1fixed
Debianlxmlbookworm-security4.9.2-1+deb12u1fixed
Alpinepy3-lxml3.164.6.2-r0fixed
Alpinepy3-lxml3.174.6.2-r0fixed
Alpinepy3-lxml3.184.6.2-r0fixed
Alpinepy3-lxml3.194.6.2-r0fixed
Alpinepy3-lxml3.204.6.2-r0fixed
Alpinepy3-lxml3.214.6.2-r0fixed
Alpinepy3-lxml3.224.6.2-r0fixed
Alpinepy3-lxml3.234.6.2-r0fixed
Alpinepy3-lxml3.244.6.2-r0fixed
Ubuntulxmlpro3.2.0-1vulnerable
Ubuntulxmlpro3.3.0~beta2-1vulnerable
Ubuntulxmlpro3.3.0~beta4-1vulnerable
Ubuntulxmlpro3.3.1-1vulnerable
Ubuntulxmlpro3.3.2-1vulnerable
Ubuntulxmlpro3.3.2-1build1vulnerable
Ubuntulxmlpro3.3.3-1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2+esm1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2+esm2fixed
Ubuntulxml16.043.4.4-1vulnerable
Ubuntulxml16.043.5.0-1vulnerable
Ubuntulxml16.043.5.0-1build1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.2vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.3fixed
Ubuntulxml18.044.0.0-1vulnerable
Ubuntulxml18.044.1.0-1vulnerable
Ubuntulxml18.044.2.0-1vulnerable
Ubuntulxml18.044.2.1-1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.2vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.3fixed
Ubuntulxml20.044.4.1-1vulnerable
Ubuntulxml20.044.4.1-1build1vulnerable
Ubuntulxml20.044.4.2-1vulnerable
Ubuntulxml20.044.5.0-1vulnerable
Ubuntulxml20.044.5.0-1ubuntu0.1vulnerable
Ubuntulxml20.044.5.0-1ubuntu0.2fixed
Ubuntulxmlpro3.2.0-1vulnerable
Ubuntulxmlpro3.3.0~beta2-1vulnerable
Ubuntulxmlpro3.3.0~beta4-1vulnerable
Ubuntulxmlpro3.3.1-1vulnerable
Ubuntulxmlpro3.3.2-1vulnerable
Ubuntulxmlpro3.3.2-1build1vulnerable
Ubuntulxmlpro3.3.3-1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2+esm1fixed
Ubuntulxml16.043.4.4-1vulnerable
Ubuntulxml16.043.5.0-1vulnerable
Ubuntulxml16.043.5.0-1build1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.2fixed
Ubuntulxml18.044.0.0-1vulnerable
Ubuntulxml18.044.1.0-1vulnerable
Ubuntulxml18.044.2.0-1vulnerable
Ubuntulxml18.044.2.1-1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.2fixed
Ubuntulxml20.044.4.1-1vulnerable
Ubuntulxml20.044.4.1-1build1vulnerable
Ubuntulxml20.044.4.2-1vulnerable
Ubuntulxml20.044.5.0-1vulnerable
Ubuntulxml20.044.5.0-1ubuntu0.1fixed
Ubuntulxmlpro3.2.0-1vulnerable
Ubuntulxmlpro3.3.0~beta2-1vulnerable
Ubuntulxmlpro3.3.0~beta4-1vulnerable
Ubuntulxmlpro3.3.1-1vulnerable
Ubuntulxmlpro3.3.2-1vulnerable
Ubuntulxmlpro3.3.2-1build1vulnerable
Ubuntulxmlpro3.3.3-1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2+esm1vulnerable
Ubuntulxmlpro3.3.3-1ubuntu0.2+esm2fixed
Ubuntulxml16.043.4.4-1vulnerable
Ubuntulxml16.043.5.0-1vulnerable
Ubuntulxml16.043.5.0-1build1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.1vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.2vulnerable
Ubuntulxml16.043.5.0-1ubuntu0.3fixed
Ubuntulxml18.044.0.0-1vulnerable
Ubuntulxml18.044.1.0-1vulnerable
Ubuntulxml18.044.2.0-1vulnerable
Ubuntulxml18.044.2.1-1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.1vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.2vulnerable
Ubuntulxml18.044.2.1-1ubuntu0.3fixed
Ubuntulxml20.044.4.1-1vulnerable
Ubuntulxml20.044.4.1-1build1vulnerable
Ubuntulxml20.044.4.2-1vulnerable
Ubuntulxml20.044.5.0-1vulnerable
Ubuntulxml20.044.5.0-1ubuntu0.1vulnerable
Ubuntulxml20.044.5.0-1ubuntu0.2fixed
Susepython3-lxmllinux enterprise module for public cloud 123.3.5-3.12.1fixed
Susepython3-lxmllinux enterprise server 12 sp53.6.1-3.3.1fixed
Susepython3-lxmllinux enterprise server for sap applications 12 sp53.6.1-3.3.1fixed
Opensusepython-lxmlleap 15.34.0.0-150000.4.3.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlxmlsourcesid4.6.2-1not yet assignedNot reportedNot reported
Debianlxmlsourceforky4.6.2-1not yet assignedNot reportedNot reported
Debianlxmlsourcetrixie4.6.2-1not yet assignedNot reportedNot reported
Debianlxmlsourcebookworm4.6.2-1not yet assignedNot reportedNot reported
Alpinepy3-lxmlapk3.164.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.174.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.184.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.194.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.204.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.214.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.224.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.234.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Alpinepy3-lxmlapk3.244.6.2-r0Not reportedALPINE-CVE-2020-27783Not reported
Ubuntulxmldebpro3.3.3-1ubuntu0.2+esm2Not reportedUSN-4666-2Not reported
Ubuntulxmldeb16.043.5.0-1ubuntu0.3Not reportedUSN-4666-2Not reported
Ubuntulxmldeb18.044.2.1-1ubuntu0.3Not reportedUSN-4666-2Not reported
Ubuntulxmldeb20.044.5.0-1ubuntu0.2Not reportedUSN-4666-2Not reported
Ubuntulxmldebpro3.3.3-1ubuntu0.2+esm1Not reportedUSN-4666-1Not reported
Ubuntulxmldeb16.043.5.0-1ubuntu0.2Not reportedUSN-4666-1Not reported
Ubuntulxmldeb18.044.2.1-1ubuntu0.2Not reportedUSN-4666-1Not reported
Ubuntulxmldeb20.044.5.0-1ubuntu0.1Not reportedUSN-4666-1Not reported
Ubuntulxmldebpro3.3.3-1ubuntu0.2+esm2Not reportedUBUNTU-CVE-2020-27783Not reported
Ubuntulxmldeb16.043.5.0-1ubuntu0.3Not reportedUBUNTU-CVE-2020-27783Not reported
Ubuntulxmldeb18.044.2.1-1ubuntu0.3Not reportedUBUNTU-CVE-2020-27783Not reported
Ubuntulxmldeb20.044.5.0-1ubuntu0.2Not reportedUBUNTU-CVE-2020-27783Not reported
Susepython3-lxmlrpmlinux enterprise module for public cloud 123.3.5-3.12.1Not reportedSUSE-SU-2022:3460-1Not reported
Susepython3-lxmlrpmlinux enterprise server 12 sp53.6.1-3.3.1Not reportedSUSE-SU-2022:3461-1Not reported
Susepython3-lxmlrpmlinux enterprise server for sap applications 12 sp53.6.1-3.3.1Not reportedSUSE-SU-2022:3461-1Not reported
Opensusepython-lxmlrpmleap 15.34.0.0-150000.4.3.1Not reportedSUSE-SU-2022:3836-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [lxml]

    Details (2)
    • 4.9.2-1+b1 · amd64 · bookworm

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · bookworm; dsa · lxml · debian · 12

    • 4.9.2-1+b1 · arm64 · bookworm

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · bookworm; dsa · lxml · debian · 12

  • Source package: [lxml]

    Details (2)
    • 4.9.2-1 · all · bookworm

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · bookworm; dsa · lxml · debian · 12

    • 4.9.2-1 · all · bookworm

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · bookworm; dsa · lxml · debian · 12

[Debian 13 (Trixie)]

  • Source package: [lxml]

    Details (2)
    • 5.4.0-1 · amd64 · trixie

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · 13

    • 5.4.0-1 · arm64 · trixie

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · 13

  • Source package: [lxml]

    Details (2)
    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · 13

    • 5.4.0-1 · all · trixie

      Fixed · Fixed: 4.6.2-1

      dsa · lxml · debian · 13

Observed:

References