Packagist (PHP)Worst: High4 advisories

pontedilana/php-weasyprint: known vulnerabilities

pontedilana/php-weasyprint has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 1 moderate, 1 low. The most recent was published 2026-06-19. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pontedilana/php-weasyprint versions running across your servers, containers and images, and ranks what to patch first.

How to fix pontedilana/php-weasyprint

Upgrade pontedilana/php-weasyprint to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require pontedilana/php-weasyprint:^2.6.0 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

PhpWeasyPrint vulnerable to PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass) High 8.1 CWE-502 — Affected: before 2.6.0. Fixed in 2.6.0. Published 2026-06-19. GHSA-2fmj-p74r-3wjm · CVE-2026-49286
PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles Low 3.0 CWE-73 — Affected: before 2.6.0. Fixed in 2.6.0. Published 2026-06-19. GHSA-5g9f-cwwg-4p8g · CVE-2026-49358
php-weasyprint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc) High 8.2 CWE-78 — Affected: before 2.5.1. Fixed in 2.5.1. Published 2026-06-19. GHSA-f5gc-qxf8-mh9g · CVE-2026-49260
PhpWeasyPrint vulnerable to SSRF and local file disclosure via the attachment option Moderate 6.5 CWE-918 — Affected: before 2.6.0. Fixed in 2.6.0. Published 2026-06-19. GHSA-x8g9-h984-pc36 · CVE-2026-49359

Find pontedilana/php-weasyprint across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.