CVE-2026-49452
Last modified
CVE-2026-49452 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Kozea | WeasyPrint | < 69.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-49452?
How severe is CVE-2026-49452?
How do I fix CVE-2026-49452?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49447Cosmos provides users the ability self-host a home server by…5.3
- CVE-2026-49448authentik is an open-source identity provider. Prior to vers…9.8
- CVE-2026-49449Joplin is an open source note-taking and to-do application t…2.5
- CVE-2026-4945The Otter Blocks – Gutenberg Blocks, Page Builder for Gutenb…5.3
- CVE-2026-49450Joplin is an open source note-taking and to-do application t…7.1
- CVE-2026-49451The OpenAPI.NET SDK contains a useful object model for OpenA…7.5
- CVE-2026-49453Joplin is an open source note-taking and to-do application t…7
- CVE-2026-49454Relyra is a strict-by-default SAML 2.0 Service Provider libr…9.1
- CVE-2026-49455Waku is the minimal React framework. Prior to version 1.0.0-…6.5
- CVE-2026-49456Waku is the minimal React framework. Prior to version 1.0.0-…3.1
- CVE-2026-49457erlang_quic is a pure Erlang QUIC implementation. Prior to v…9.1
- CVE-2026-49458DOMPurify is a DOM-only cross-site scripting sanitizer for H…6.1
Are you affected by CVE-2026-49452?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
