OESA-2026-3217

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2026-3217
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2026-3217
Upstream
  • CVE-2026-49825
Published
2026-08-01T11:12:05Z
Modified
2026-08-18T01:21:26.010491006Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
python-lxml security update
Details

\

Security Fix(es):

lxmlhtmlclean.Cleaner does not strip javascript: URLs from namespaced URL attributes (xlink:href). The vulnerability exists because Cleaner filters URL schemes by walking links via rewritelinks(), which delegates to iterlinks(), which only yields attributes named in lxml.html.defs.linkattrs. That allow-list contains no prefixed names such as xlink:href. As a result, when Cleaner is configured with safeattrsonly=False, an xlink:href attribute carrying a javascript: URL survives sanitization untouched, and any browser that follows the SVG or MathML anchor specification will execute the JavaScript when the rendered link is clicked, leading to Cross-Site Scripting (XSS) attacks.(CVE-2026-49825)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4
python-lxml

Package

Name
python-lxml
Purl
pkg:rpm/openEuler/python-lxml&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.5.2-11.oe2003sp4

Ecosystem specific

{
    "x86_64": [
        "python-lxml-debuginfo-4.5.2-11.oe2003sp4.x86_64.rpm",
        "python-lxml-debugsource-4.5.2-11.oe2003sp4.x86_64.rpm",
        "python2-lxml-4.5.2-11.oe2003sp4.x86_64.rpm",
        "python3-lxml-4.5.2-11.oe2003sp4.x86_64.rpm"
    ],
    "aarch64": [
        "python-lxml-debuginfo-4.5.2-11.oe2003sp4.aarch64.rpm",
        "python-lxml-debugsource-4.5.2-11.oe2003sp4.aarch64.rpm",
        "python2-lxml-4.5.2-11.oe2003sp4.aarch64.rpm",
        "python3-lxml-4.5.2-11.oe2003sp4.aarch64.rpm"
    ],
    "src": [
        "python-lxml-4.5.2-11.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "python-lxml-help-4.5.2-11.oe2003sp4.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json"
openEuler:22.03-LTS-SP4
python-lxml

Package

Name
python-lxml
Purl
pkg:rpm/openEuler/python-lxml&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.7.1-10.oe2203sp4

Ecosystem specific

{
    "x86_64": [
        "python-lxml-debuginfo-4.7.1-10.oe2203sp4.x86_64.rpm",
        "python-lxml-debugsource-4.7.1-10.oe2203sp4.x86_64.rpm",
        "python3-lxml-4.7.1-10.oe2203sp4.x86_64.rpm"
    ],
    "aarch64": [
        "python-lxml-debuginfo-4.7.1-10.oe2203sp4.aarch64.rpm",
        "python-lxml-debugsource-4.7.1-10.oe2203sp4.aarch64.rpm",
        "python3-lxml-4.7.1-10.oe2203sp4.aarch64.rpm"
    ],
    "src": [
        "python-lxml-4.7.1-10.oe2203sp4.src.rpm"
    ],
    "noarch": [
        "python-lxml-help-4.7.1-10.oe2203sp4.noarch.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json"
openEuler:24.03-LTS-SP1
python-lxml

Package

Name
python-lxml
Purl
pkg:rpm/openEuler/python-lxml&distro=openEuler-24.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.1.0-5.oe2403sp1

Ecosystem specific

{
    "x86_64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp1.x86_64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp1.x86_64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp1.x86_64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp1.x86_64.rpm"
    ],
    "aarch64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp1.aarch64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp1.aarch64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp1.aarch64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp1.aarch64.rpm"
    ],
    "src": [
        "python-lxml-5.1.0-5.oe2403sp1.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json"
openEuler:24.03-LTS-SP3
python-lxml

Package

Name
python-lxml
Purl
pkg:rpm/openEuler/python-lxml&distro=openEuler-24.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.1.0-5.oe2403sp3

Ecosystem specific

{
    "x86_64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp3.x86_64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp3.x86_64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp3.x86_64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp3.x86_64.rpm"
    ],
    "aarch64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp3.aarch64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp3.aarch64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp3.aarch64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp3.aarch64.rpm"
    ],
    "src": [
        "python-lxml-5.1.0-5.oe2403sp3.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json"
openEuler:24.03-LTS-SP4
python-lxml

Package

Name
python-lxml
Purl
pkg:rpm/openEuler/python-lxml&distro=openEuler-24.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.1.0-5.oe2403sp4

Ecosystem specific

{
    "x86_64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp4.x86_64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp4.x86_64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp4.x86_64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp4.x86_64.rpm"
    ],
    "aarch64": [
        "python-lxml-debuginfo-5.1.0-5.oe2403sp4.aarch64.rpm",
        "python-lxml-debugsource-5.1.0-5.oe2403sp4.aarch64.rpm",
        "python-lxml-help-5.1.0-5.oe2403sp4.aarch64.rpm",
        "python3-lxml-5.1.0-5.oe2403sp4.aarch64.rpm"
    ],
    "src": [
        "python-lxml-5.1.0-5.oe2403sp4.src.rpm"
    ]
}

Database specific

source
"https://repo.openeuler.org/security/data/osv/OESA-2026-3217.json"