CVE-2026-49260
1 advisory.
Packagist/pontedilana/php-weasyprint CVE-2026-49260: high 8.2, EPSS 0.22%
php-weasyprint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc)
Action: Upgrade pontedilana/php-weasyprint to 2.5.1 or later.
composer require pontedilana/php-weasyprint:2.5.1Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 2.5.1 | - |
Fixed versions
| 2.5.1 |
Sources
- osv: GHSA-f5gc-qxf8-mh9g
- https://github.com/KnpLabs/snappy/security/advisories/GHSA-vpr4-p6fq-85jc
- https://github.com/pontedilana/php-weasyprint/security/advisories/GHSA-f5gc-qxf8-mh9g
- https://nvd.nist.gov/vuln/detail/CVE-2026-49260
- https://github.com/pontedilana/php-weasyprint/commit/9e86a2b317237fc5728f712f5037164530117f7e
- https://github.com/pontedilana/php-weasyprint
- https://github.com/pontedilana/php-weasyprint/releases/tag/2.5.1
CVE-2026-49260 · published · modified · JSON