{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-49452","published":"2026-08-18T18:17:49.147000Z","last_modified":"2026-10-22T22:10:00.250000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-74"],"cpes":[],"cpes_truncated":false,"vendors":["kozea"],"products":["kozea/weasyprint"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jhhc-3hcp-qhm5","ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":[{"introduced":"0","last_affected":"68.1"}],"versions":["0.1","0.10","0.11","0.12","0.13","0.14","0.15","0.16","0.17","0.17.1","0.18","0.19","0.19.1","0.19.2","0.2","0.2.1","0.2.2","0.20","0.20.1","0.20.2","0.21","0.22","0.23","0.24","0.25","0.26","0.27","0.28","0.29","0.3","0.3.1","0.30","0.31","0.32","0.33","0.34","0.35","0.36","0.37","0.38","0.39","0.4","0.40","0.41","0.42","0.42.1","0.42.2","0.42.3","0.5","0.6","0.6.1","0.7","0.7.1","0.8","0.9","43","43rc1","43rc2","44","45","46","47","48","49","50","51","52","52.1","52.2","52.3","52.4","52.5","53.0","53.0b1","53.0b2","53.1","53.2","53.3","53.4","54.0","54.0b1","54.1","54.2","54.3","55.0","55.0b1","56.0","56.0b1","56.1","57.0","57.0b1","57.1","57.2","58.0","58.0b1","58.1","59.0","59.0b1","60.0","60.1","60.2","61.0","61.1","61.2","62.0","62.1","62.2","62.3","63.0","63.1","64.0","64.1","65.0","65.1","66.0","67.0","68.0","68.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-3412","ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":[{"introduced":"0","last_affected":"68.1"}],"versions":["0.1","0.10","0.11","0.12","0.13","0.14","0.15","0.16","0.17","0.17.1","0.18","0.19","0.19.1","0.19.2","0.2","0.2.1","0.2.2","0.20","0.20.1","0.20.2","0.21","0.22","0.23","0.24","0.25","0.26","0.27","0.28","0.29","0.3","0.3.1","0.30","0.31","0.32","0.33","0.34","0.35","0.36","0.37","0.38","0.39","0.4","0.40","0.41","0.42","0.42.1","0.42.2","0.42.3","0.5","0.6","0.6.1","0.7","0.7.1","0.8","0.9","43","43rc1","43rc2","44","45","46","47","48","49","50","51","52","52.1","52.2","52.3","52.4","52.5","53.0","53.0b1","53.0b2","53.1","53.2","53.3","53.4","54.0","54.0b1","54.1","54.2","54.3","55.0","55.0b1","56.0","56.0b1","56.1","57.0","57.0b1","57.1","57.2","58.0","58.0b1","58.1","59.0","59.0b1","60.0","60.1","60.2","61.0","61.1","61.2","62.0","62.1","62.2","62.3","63.0","63.1","64.0","64.1","65.0","65.1","66.0","67.0","68.0","68.1"],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-49452/","html_en":"/en/cve/CVE-2026-49452/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49452","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49452"},"untrusted":{"vendor_name":"Kozea","product_name":"WeasyPrint","desc_en":"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.","affected":[{"untrusted_vendor":"Kozea","untrusted_product":"WeasyPrint","versions":[]}],"references":[{"url":"https://github.com/Kozea/WeasyPrint/commit/e158264e33fa399b29f415d30719c1d85a55df1d","tags":[]},{"url":"https://github.com/Kozea/WeasyPrint/pull/2773","tags":[]},{"url":"https://github.com/Kozea/WeasyPrint/releases/tag/v69.0","tags":[]},{"url":"https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-jhhc-3hcp-qhm5","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21364-1","url":"https://www.suse.com/support/update/","published":"2026-07-16T07:28:07+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Security update for python-weasyprint"}},{"source":"suse","id":"openSUSE-SU-2026:11249-1","url":"https://www.suse.com/support/update/","published":"2026-07-10T00:00:00+00:00","severity":"medium","exploited":false,"untrusted":{"title":"python313-weasyprint-69.0-1.1 on GA media"}}]}