Tag

Cve 2026 141556

All articles tagged with #cve 2026 141556

lxml-html-clean 0.4.7 Fixes XSS Flaw in iframe and SVG Handling
cybersecurity2 hours ago

lxml-html-clean 0.4.7 Fixes XSS Flaw in iframe and SVG Handling

A medium-severity vulnerability in the Python library lxml-html-clean has been patched in version 0.4.7. The flaw allowed attackers to inject JavaScript code via iframe srcdoc attributes and SVG animation elements when the Cleaner class was configured with safe_attrs_only=False. GitHub assigned the CVE-2026-141556 identifier on December 2, 2026, scoring it 4.7 on the CVSS scale. The issue stems from incomplete sanitization of attributes, specifically missing checks for iframe srcdoc and SVG animation parameters like 'to' and 'from', which could execute malicious scripts if a user clicked a link. The fix is available in the latest release, and the project recommends using the nh3 library for security-sensitive environments.