DEBIAN-CVE-2021-28957

Source
https://security-tracker.debian.org/tracker/CVE-2021-28957
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28957.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-28957
Upstream
Published
2021-03-21T05:15:13Z
Modified
2025-09-30T03:54:37Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

An XSS vulnerability was discovered in python-lxml's clean module versions before 4.6.3. When disabling the safeattrsonly and forms arguments, the Cleaner class does not remove the formaction attribute allowing for JS to bypass the sanitizer. A remote attacker could exploit this flaw to run arbitrary JS code on users who interact with incorrectly sanitized HTML. This issue is patched in lxml 4.6.3.

References

Affected packages

Debian:11 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / lxml

Package

Name
lxml
Purl
pkg:deb/debian/lxml?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.6.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}