Advisory

UBUNTU-CVE-2026-49825

Also known as: CVE-2026-49825

Summary

The record has no summary.

Details

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

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Dates

Published
2026-08-20 15:17 UTC
Modified
2026-10-08 19:47 UTC

Affected packages and fixes

lxml

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 4.8.0-1ubuntu0.1 (ecosystem)

Fixed versions

4.8.0-1ubuntu0.1

Fix

  • Fixed version 4.8.0-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 5.2.1-1ubuntu0.2 (ecosystem)

Fixed versions

5.2.1-1ubuntu0.2

Fix

  • Fixed version 5.2.1-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

lxml

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 6.0.2-1ubuntu0.1 (ecosystem)

Fixed versions

6.0.2-1ubuntu0.1

Fix

  • Fixed version 6.0.2-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences