RCE in Pontedilana Php-weasyprint

CVE-2026-49260

PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.5.1, `pontedilana/php-weasyprint` builds the shell command for WeasyPrint by passing the binary path through `escapeshellarg()` first and…

Vulnerability class: Command Injection (OS Command Injection)

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-49260?
CVE-2026-49260 is a high-severity vulnerability in Pontedilana Php-weasyprint, classified under OS Command Injection. CVSS score: 8.2/10. Published 2026-06-19.
How severe is CVE-2026-49260?
High severity. CVSS v3 base score is 8.2 out of 10.