<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-06T20:58:25.618541+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/euvd-2026-329129</id>
    <title>EUVD-2026-329129</title>
    <updated>2026-10-06T20:58:25.667461+00:00</updated>
    <content>EUVD-2026-329129</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-329129"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-49358</id>
    <title>fkie_cve-2026-49358</title>
    <updated>2026-10-06T20:58:25.667500+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, `AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown. This mirrors the KnpLabs/snappy issue GHSA-87qc-37cw-84h4. PhpWeasyPrint version 2.6.0 contains a patch for the issue.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-49358"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-5g9f-cwwg-4p8g</id>
    <title>GHSA-5g9f-cwwg-4p8g — PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles</title>
    <updated>2026-10-06T20:58:25.667539+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: pontedilana/php-weasyprint</p>
<p>### Summary</p>
<p>`AbstractGenerator::$temporaryFiles` is a public array, and `removeTemporaryFiles()` — invoked from `__destruct()` and from a registered shutdown function — calls `unlink()` on every entry without verifying that the path is contained within the temporary folder. Any code holding a reference to a generator instance can push an arbitrary path into the array and have it deleted on script shutdown.</p>
<p>This mirrors the KnpLabs/snappy issue [GHSA-87qc-37cw-84h4](https://github.com/KnpLabs/snappy/security/advisories/GHSA-87qc-37cw-84h4), patched in snappy 1.7.2.</p>
<p>### Affected versions</p>
<p>`pontedilana/php-weasyprint` versions `&lt;= 2.5.1`.</p>
<p>Patched in: `2.6.0`.</p>
<p>### Vulnerable code</p>
<p>`src/AbstractGenerator.php`:</p>
<p>```php
public array $temporaryFiles = [];</p>
<p>// ...</p>
<p>public function removeTemporaryFiles(): void
{
    foreach ($this-&gt;temporaryFiles as $file) {
        $this-&gt;unlink($file);
    }
}
```</p>
<p>No path-containment check: whatever path is present in `$temporaryFiles` at shutdown is unlinked.</p>
<p>### Proof of concept</p>
<p>```php
&lt;?php
use Pontedilana\PhpWeasyPrint\Pdf;</p>
<p>$pdf = new Pdf();
$pdf-&gt;temporaryFiles[] = '/var/www/html/.env';</p>
<p>// On shutdown, removeTemporaryFiles() deletes /var/www/html/.env.
```</p>
<p>### Impact</p>
<p>- Arbitrary file deletion bound to script shutdown, scoped to the privileges of the PHP process user.
- Not directly exploitable on its own (the attacker already needs to influence the property in the same request). The risk is **amplification**: chained with a separate…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-5g9f-cwwg-4p8g"/>
  </entry>
</feed>
