Lucene search
+L

12 matches found

Github Security Blog
Github Security Blog
•added 2026/06/26 10:11 p.m.•37 views

PhpWeasyPrint vulnerable to SSRF and local file disclosure via the attachment option

Summary pontedilana/php-weasyprint fetches the content of option values server-side via filegetcontents when the value looks like a URL, without restricting the URL scheme. The attachment option of Pdf is the reachable sink: any value that passes isOptionUrl filtervar..., FILTERVALIDATEURL is...

6.5CVSS6AI score0.00422EPSS
SaveExploits0References6Affected Software1
Github Security Blog
Github Security Blog
•added 2026/06/26 10:10 p.m.•21 views

PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles

Summary 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 generato...

3CVSS6AI score0.00149EPSS
SaveExploits0References6Affected Software1
OSV
OSV
•added 2026/06/26 10:10 p.m.•19 views

GHSA-5G9F-CWWG-4P8G PhpWeasyPrint vulnerable to arbitrary file deletion at shutdown via public $temporaryFiles

Summary 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 generato...

3CVSS6AI score0.00149EPSS
SaveExploits0References6
Snyk
Snyk
•added 2026/06/19 7:08 p.m.•11 views

Deserialization of Untrusted Data

Overview pontedilana/php-weasyprint is a PHP library allowing PDF generation from an url or a html page. Affected versions of this package are vulnerable to Deserialization of Untrusted Data in the prepareOutput method of src/AbstractGenerator.php, whose strpos$filename, 'phar://' guard is case...

9.2CVSS6.6AI score0.0095EPSS
SaveExploits0References2
Snyk
Snyk
•added 2026/06/19 7:08 p.m.•8 views

Server-side Request Forgery (SSRF)

Overview pontedilana/php-weasyprint is a PHP library allowing PDF generation from an url or a html page. Affected versions of this package are vulnerable to Server-side Request Forgery SSRF and local file disclosure in the isOptionUrl and handleArrayOptions methods of src/Pdf.php, which validate...

7.2CVSS5.9AI score0.00422EPSS
SaveExploits0References2
NVD
NVD
•added 2026/06/19 6:16 p.m.•26 views

CVE-2026-49359

PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, pontedilana/php-weasyprint fetches the content of option values server-side via filegetcontents when the value looks like a URL, without restricting the URL scheme. The attachment option of...

6.5CVSS0.00422EPSS
SaveExploits0References4
CVE
CVE
•added 2026/06/19 5:06 p.m.•42 views

CVE-2026-49359

PhpWeasyPrint (pontedilana/php-weasyprint) prior to version 2.6.0 is vulnerable: the attachment option for Pdf can accept any value that passes filter_var(url), including http, https, ftp, file, and PHP streams like php://. The library fetches these values server-side via file_get_contents, allow...

6.5CVSS5.8AI score0.00422EPSS
SaveExploits0References4
Vulnrichment
Vulnrichment
•added 2026/06/19 5:03 p.m.•12 views

CVE-2026-49286 PhpWeasyPrint vulnerable to PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass)

PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, pontedilana/php-weasyprint guarded the output filename against the phar:// stream wrapper with a case-sensitive blacklist. PHP stream wrappers are case-insensitive, so PHAR://, Phar://, etc...

8.1CVSS6.2AI score0.0095EPSS
SaveExploits0References4
attackerkb
attackerkb
•added 2026/06/19 4:59 p.m.•19 views

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 then checking the quoted result with isexecutable. On POSIX...

8.2CVSS5.9AI score0.00225EPSS
SaveExploits0References5Affected Software1
Cvelist
Cvelist
•added 2026/06/19 4:59 p.m.•46 views

CVE-2026-49260 PhpWeasyPrint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc)

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 then checking the quoted result with isexecutable. On POSIX...

8.2CVSS0.00225EPSS
SaveExploits0References4
Snyk
Snyk
•added 2026/06/19 4:13 p.m.•9 views

External Control of File Name or Path

Overview pontedilana/php-weasyprint is a PHP library allowing PDF generation from an url or a html page. Affected versions of this package are vulnerable to External Control of File Name or Path via the temporaryFiles array accessed by AbstractGenerator.php, which is publicly accessible. An...

3CVSS6AI score0.00149EPSS
SaveExploits0References2
Positive Technologies
Positive Technologies
•added 2026/06/19 12:00 a.m.•43 views

PT-2026-51002

Name of the Vulnerable Software and Affected Versions PhpWeasyPrint versions prior to 2.6.0 Description PhpWeasyPrint is a PHP library used for generating PDFs from HTML pages or URLs. The library fetches content of option values server-side using the file get contents function when a value is...

6.5CVSS5.9AI score0.00422EPSS
SaveExploits0References12
Rows per page
Query Builder