cve.bz

CVE-2026-49825 Cross-site Scripting

8.2 highEPSS 0.3%Fix available

High (8.2). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in lxml-html-clean 0.4.5.

On this page
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.1, link attributes in ``lxml.html.defs.link_attrs`` were missing ``xlink:href``, which can be used for URL bypass attacks in embedded SVG/MathML/etc. content. This vulnerability was fixed in lxml 6.1.1 and lxml_html_clean 0.4.5.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-184 Incomplete List of Disallowed Inputs
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-49825 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-49825?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-49825?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-49825 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
lxml< 6.1.1
fedora-python lxml_html_clean< 0.4.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4jhm-jv67-739fPyPIlxml-html-clean<0.4.50.4.5
PYSEC-2026-2614PyPIlxml-html-clean<0.4.50.4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12lxml4.9.2-1+deb12u1DEBIAN-CVE-2026-49825
Debian13lxml, lxml-html-cleanno fix listedDEBIAN-CVE-2026-49825
Debian14lxml6.1.3-1DEBIAN-CVE-2026-49825
Debian14lxml-html-clean0.4.5-1DEBIAN-CVE-2026-49825
Ubuntu22.04:LTSlxml4.8.0-1ubuntu0.1UBUNTU-CVE-2026-49825 USN-8897-1
Ubuntu24.04:LTSlxml5.2.1-1ubuntu0.2UBUNTU-CVE-2026-49825 USN-8897-1
Ubuntu26.04:LTSlxml6.0.2-1ubuntu0.1UBUNTU-CVE-2026-49825 USN-8897-1
UbuntuPro:14.04:LTSlxml3.3.3-1ubuntu0.2+esm6UBUNTU-CVE-2026-49825 USN-8897-1
UbuntuPro:16.04:LTSlxml3.5.0-1ubuntu0.4+esm3UBUNTU-CVE-2026-49825 USN-8897-1
UbuntuPro:18.04:LTSlxml4.2.1-1ubuntu0.6+esm1UBUNTU-CVE-2026-49825 USN-8897-1
UbuntuPro:20.04:LTSlxml4.5.0-1ubuntu0.5+esm1UBUNTU-CVE-2026-49825 USN-8897-1
Red Hatenterprise_linux:8::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.2.3-5.el8_10RHSA-2026:67943
Red Hatenterprise_linux:9::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.6.5-3.el9_8.1RHSA-2026:66204
Red Hatenterprise_linux:9::appstreampython3.12-lxml, python3.12-lxml-debuginfo, python3.12-lxml-debugsource0:4.9.3-2.el9_8.1RHSA-2026:66203
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.2.3-2.el8_4.1RHSA-2026:90326
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.2.3-4.el8_6.1RHSA-2026:84592
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.2.3-4.el8_8.1RHSA-2026:84593
Red Hatrhel_e4s:9.2::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.6.5-3.el9_2.1RHSA-2026:67326
Red Hatrhel_e4s:9.4::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.6.5-3.el9_4.1RHSA-2026:67325
Red Hatrhel_e4s:9.4::appstreampython3.12-lxml, python3.12-lxml-debuginfo, python3.12-lxml-debugsource0:4.9.3-2.el9_4.1RHSA-2026:74082
Red Hatrhel_els:6python-lxml, python-lxml-debuginfo0:2.2.3-1.2.el6_10RHSA-2026:90336
Red Hatrhel_els:7python-lxml, python-lxml-docs, python-lxml-debuginfo0:3.2.1-4.el7_9.1RHSA-2026:90327
Red Hatrhel_eus:9.6::appstreampython-lxml, python3-lxml, python3-lxml-debuginfo and 1 more0:4.6.5-3.el9_6.1RHSA-2026:67324
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy, saltbundlepy-core3.11.15-90002.4.15.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cffi1.17.1-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cryptography3.3.2-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-cssselect1.3.0-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-editables0.5-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-exceptiongroup, saltbundlepy-exceptiongroup-test1.2.2-90002.3.3.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-flit-core3.12.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-fancy-pypi-readme, saltbundlepy-hatch-fancy-pypi-readme-test25.1.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatch-vcs, saltbundlepy-hatch-vcs-test0.5.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-hatchling1.31.0-90002.3.3.1SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-idna3.10-90002.3.6.2SUSE-SU-2026:4582-1
SUSEEL-9:Update:Products:MultiLinuxManagerTools:Updatesaltbundlepy-iniconfig2.1.0-90002.3.3.1SUSE-SU-2026:4582-1
116 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpython-lxml6.1.1-1.1openSUSE-SU-2026:11147-1
openSUSETumbleweedpython-lxml_html_clean0.4.5-1.1openSUSE-SU-2026:11191-1
AlmaLinux8python3-lxml4.2.3-5.el8_10ALSA-2026:67943
AlmaLinux9python3-lxml4.6.5-3.el9_8.1ALSA-2026:66204
AlmaLinux9python3.12-lxml4.9.3-2.el9_8.1ALSA-2026:66203
Rocky Linux8python-lxml0:4.2.3-5.el8_10RLSA-2026:67943
Rocky Linux9python-lxml0:4.6.5-3.el9_8.1RLSA-2026:66204
Rocky Linux9python3.12-lxml0:4.9.3-2.el9_8.1RLSA-2026:66203
Azure Linux3python-lxml4.9.3-3AZL-96857
Alpaquita23py3-lxml4.9.3-r3BELL-CVE-2026-49825
Alpaquita25py3-lxml5.3.1-r2BELL-CVE-2026-49825
Alpaquitastreampy3-lxml6.1.1-r0BELL-CVE-2026-49825

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is rated as an Important severity for Red Hat products because an unauthenticated remote attacker could inject malicious script schemes into rendered markup, resulting in cross-site scripting and potential session hijacking in the victim's browser. Exploitation requires an application to process untrusted user input using the HTML cleaner utility configured with non-default, relaxed attribute filtering. Under default library configurations where strict attribute allowlists are enforced, the relevant hyperlink attributes are stripped automatically before link scheme validation occurs.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONpython-lxml-0:2.2.3-1.2.el6_10Fixed 2026-10-26RHSA-2026:90336
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpython-lxml-0:3.2.1-4.el7_9.1Fixed 2026-10-26RHSA-2026:90327
Red Hat Enterprise Linux 8python-lxml-0:4.2.3-5.el8_10Fixed 2026-09-16RHSA-2026:67943
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpython-lxml-0:4.2.3-2.el8_4.1Fixed 2026-10-26RHSA-2026:90326
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpython-lxml-0:4.2.3-2.el8_4.1Fixed 2026-10-26RHSA-2026:90326
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpython-lxml-0:4.2.3-4.el8_6.1Fixed 2026-10-19RHSA-2026:84592
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onpython-lxml-0:4.2.3-4.el8_6.1Fixed 2026-10-19RHSA-2026:84592
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepython-lxml-0:4.2.3-4.el8_8.1Fixed 2026-10-19RHSA-2026:84593
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspython-lxml-0:4.2.3-4.el8_8.1Fixed 2026-10-19RHSA-2026:84593
Red Hat Enterprise Linux 9python3.12-lxml-0:4.9.3-2.el9_8.1Fixed 2026-09-09RHSA-2026:66203
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Not affected
Red Hat AI Inference Serverrhaiis/vllm-neuron-rhel9Will not fix
Red Hat AI Inference Serverrhaii/vllm-neuron-rhel9Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/controller-rhel8Will not fix
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/eda-controller-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Not affected
216 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-49825.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-184.

References

Check your stackJSON