{"id":"DEBIAN-CVE-2026-49452","details":"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 background-image:url() declaration and parsed by tinycss2.parse_blocks_contents(), allowing untrusted HTML to inject additional CSS declarations. Applications that render untrusted HTML with presentational hints enabled can be affected by CSS injection and server-side requests through injected url() values. This issue is fixed in version 69.0.","modified":"2026-09-19T22:47:44.260507966Z","published":"2026-08-18T18:17:49.147Z","upstream":["CVE-2026-49452"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-49452"}],"affected":[{"package":{"name":"weasyprint","ecosystem":"Debian:12","purl":"pkg:deb/debian/weasyprint?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["57.2-1","59.0-1","60.2-1","61.0-1","61.1-1","61.2-1","61.2-2","62.0-1","62.1-1","62.2-1","62.3-1","67.0-1","69.0-1","69.0-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49452.json"}},{"package":{"name":"weasyprint","ecosystem":"Debian:13","purl":"pkg:deb/debian/weasyprint?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["62.3-1","67.0-1","69.0-1","69.0-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49452.json"}},{"package":{"name":"weasyprint","ecosystem":"Debian:14","purl":"pkg:deb/debian/weasyprint?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"69.0-1"}]}],"versions":["62.3-1","67.0-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-49452.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}