Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:21364-1 1 CVE

Security update for python-weasyprint

Published Jul 16, 2026 · Updated Jul 18, 2026

Summary

This update for python-weasyprint fixes the following issues:

Changes in python-weasyprint:

- CVE-2026-49452: CSS Injection via Presentational Hints (bsc#1270401)

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 python-weasyprint 65.1-bp160.3.1

Vulnerabilities 1

  • Medium 6.5

    WeasyPrint: CSS Injection via Presentational Hints

    WeasyPrint helps web developers to create PDF documents. Prior to 69.0, WeasyPrint embeds unescaped HTML presentational-hint attribute values into CSS in weasyprint/css/__init__.py when presentational_hints=True. The background attribute is inserted into a ba…

References

  • report
    https://bugzilla.suse.com/1270401
  • web
    https://www.suse.com/security/cve/CVE-2026-49452