Cross-site Scripting (XSS) Affecting python3-lxml package, versions <0:4.6.5-3.el9_8.1


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.3% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-PYTHON3LXML-19676545
  • published11 Sept 2026
  • disclosed9 Sept 2026

Introduced: 9 Sep 2026

CVE-2026-49825  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-184  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 python3-lxml to version 0:4.6.5-3.el9_8.1 or higher.
This issue was patched in ALSA-2026:66204.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-lxml package and not the python3-lxml package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1