Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-49452

published medium CVSS 3.1 · 6.5

WeasyPrint: CSS Injection via Presentational Hints

Published
18 Aug 2026, 17:59:36 UTC
Updated
19 Aug 2026, 15:12:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Kozea — WeasyPrint< 69.0 Affected Not stated GitHub_M
Alpine Linux edge weasyprint Fixed 69.0-r0 Package fix record
SUSE / openSUSE openSUSE-Leap-16.0 python313-weasyprintnoarch Advisory build 65.1-bp160.3.1 OPENSUSE-SU-2026:21364-1
SUSE / openSUSE openSUSE-Tumbleweed python313-weasyprintaarch64 Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python313-weasyprintppc64le Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python313-weasyprints390x Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python313-weasyprintx86_64 Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python314-weasyprintaarch64 Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python314-weasyprintppc64le Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python314-weasyprints390x Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1
SUSE / openSUSE openSUSE-Tumbleweed python314-weasyprintx86_64 Advisory build 69.0-1.1 OPENSUSE-SU-2026:11249-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

3

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Kozea WeasyPrint < 69.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-74 CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

WeasyPrint: CSS Injection via Presentational Hints

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
0fee1e0e314352a5af51d3f03b00ec575b132b0478ae2ac17fd525c237d9c5d3
Ingested
23 Sep 2026, 09:17:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected