<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T15:46:00.159546+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/brew-weasyprint-cve-2026-49452</id>
    <title>BREW-weasyprint-CVE-2026-49452 — WeasyPrint has CSS Injection via Presentational Hints</title>
    <updated>2026-10-04T15:46:00.168463+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: weasyprint</p>
<p>### Summary
A CSS injection issue exists in WeasyPrint when HTML presentational hints are enabled. Unescaped attribute values are embedded into CSS, allowing injection of arbitrary CSS declarations. This affects applications processing untrusted HTML input.</p>
<p>### Details
File: weasyprint/css/__init__.py</p>
<p>The `background` attribute is used to construct CSS:</p>
<p>background-image:url({element.get("background")})</p>
<p>This string is parsed by `tinycss2.parse_blocks_contents()`.</p>
<p>Because the value is not escaped, additional CSS declarations can be injected.</p>
<p>### PoC
&lt;body background="x);background-image:url(http://169.254.169.254/latest/meta-data/)"&gt;</p>
<p>### Impact
- CSS injection
- Server-side requests via injected `url()`
- Limited to cases where `presentational_hints=True`</p>
<p>### Suggested Fix
- Escape attribute values before embedding into CSS
- Restrict allowed values for presentational hints
[VULN-05_css_injection_presentational_hints.md](https://github.com/user-attachments/files/26370718/VULN-05_css_injection_presentational_hints.md)</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/brew-weasyprint-cve-2026-49452"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-49452</id>
    <title>fkie_cve-2026-49452</title>
    <updated>2026-10-04T15:46:00.168587+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-49452"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-jhhc-3hcp-qhm5</id>
    <title>GHSA-jhhc-3hcp-qhm5 — WeasyPrint has CSS Injection via Presentational Hints</title>
    <updated>2026-10-04T15:46:00.168641+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: weasyprint</p>
<p>### Summary
A CSS injection issue exists in WeasyPrint when HTML presentational hints are enabled. Unescaped attribute values are embedded into CSS, allowing injection of arbitrary CSS declarations. This affects applications processing untrusted HTML input.</p>
<p>### Details
File: weasyprint/css/__init__.py</p>
<p>The `background` attribute is used to construct CSS:</p>
<p>background-image:url({element.get("background")})</p>
<p>This string is parsed by `tinycss2.parse_blocks_contents()`.</p>
<p>Because the value is not escaped, additional CSS declarations can be injected.</p>
<p>### PoC
&lt;body background="x);background-image:url(http://169.254.169.254/latest/meta-data/)"&gt;</p>
<p>### Impact
- CSS injection
- Server-side requests via injected `url()`
- Limited to cases where `presentational_hints=True`</p>
<p>### Suggested Fix
- Escape attribute values before embedding into CSS
- Restrict allowed values for presentational hints
[VULN-05_css_injection_presentational_hints.md](https://github.com/user-attachments/files/26370718/VULN-05_css_injection_presentational_hints.md)</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-jhhc-3hcp-qhm5"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/opensuse-su-2026:11249-1</id>
    <title>openSUSE-SU-2026:11249-1 — python313-weasyprint-69.0-1.1 on GA media</title>
    <updated>2026-10-04T15:46:00.168703+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>python313-weasyprint-69.0-1.1 on GA media</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/opensuse-su-2026:11249-1"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-3412</id>
    <title>PYSEC-2026-3412 — WeasyPrint has CSS Injection via Presentational Hints</title>
    <updated>2026-10-04T15:46:00.168733+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: weasyprint</p>
<p>### Summary
A CSS injection issue exists in WeasyPrint when HTML presentational hints are enabled. Unescaped attribute values are embedded into CSS, allowing injection of arbitrary CSS declarations. This affects applications processing untrusted HTML input.</p>
<p>### Details
File: weasyprint/css/__init__.py</p>
<p>The `background` attribute is used to construct CSS:</p>
<p>background-image:url({element.get("background")})</p>
<p>This string is parsed by `tinycss2.parse_blocks_contents()`.</p>
<p>Because the value is not escaped, additional CSS declarations can be injected.</p>
<p>### PoC
&lt;body background="x);background-image:url(http://169.254.169.254/latest/meta-data/)"&gt;</p>
<p>### Impact
- CSS injection
- Server-side requests via injected `url()`
- Limited to cases where `presentational_hints=True`</p>
<p>### Suggested Fix
- Escape attribute values before embedding into CSS
- Restrict allowed values for presentational hints
[VULN-05_css_injection_presentational_hints.md](https://github.com/user-attachments/files/26370718/VULN-05_css_injection_presentational_hints.md)</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3412"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-49452</id>
    <title>UBUNTU-CVE-2026-49452</title>
    <updated>2026-10-04T15:46:00.168786+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Ubuntu:20.04:LTS: weasyprint, Ubuntu:22.04:LTS: weasyprint, Ubuntu:24.04:LTS: weasyprint, Ubuntu:25.10: weasyprint, Ubuntu:26.04:LTS: weasyprint</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-49452"/>
  </entry>
</feed>
