Cross-site Scripting (XSS) Affecting python-lxml package, versions <0:4.2.3-5.el8_10


Severity

Recommended
high

Based on Rocky Linux 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-ROCKY8-PYTHONLXML-19896004
  • published18 Sept 2026
  • disclosed20 Aug 2026

Introduced: 20 Aug 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 Rocky-Linux:8 python-lxml to version 0:4.2.3-5.el8_10 or higher.
This issue was patched in RLSA-2026:67943.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-lxml package and not the python-lxml package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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