CVE-2026-49260

PhpWeasyPrint · PhpWeasyPrint

PhpWeasyPrint is a PHP library that facilitates PDF generation from URLs or HTML pages, containing a vulnerability that requires immediate remediation.

Executive summary

A high-severity vulnerability exists in the PhpWeasyPrint library, potentially allowing unauthorized actions or system compromise through malicious PDF generation requests.

Vulnerability

The vulnerability pertains to the core PDF generation functionality of the library. While the specific authentication requirements depend on implementation, such flaws often permit unauthenticated remote attackers to trigger unintended behavior or data exfiltration.

Business impact

The CVSS score of 8.2 classifies this as a High-severity risk. Successful exploitation could lead to unauthorized system access, server-side request forgery (SSRF), or the exposure of sensitive internal data processed by the library, causing significant reputational and operational damage to the organization.

Remediation

Immediate Action: Update to the latest version of the PhpWeasyPrint library as soon as a patch is released by the vendor.

Proactive Monitoring: Monitor server logs for unusual URL requests or high volumes of PDF generation requests that may indicate exploitation attempts.

Compensating Controls: Implement strict egress filtering on servers running this library to prevent unauthorized outgoing connections if the library is used to fetch external URLs.

Exploitation status

Public Exploit Available: false

Analyst recommendation

Given the High-severity CVSS rating, organizations utilizing the PhpWeasyPrint library should prioritize this issue in their vulnerability management lifecycle. Administrators must monitor the vendor's security channels for the release of an official patch and apply it immediately upon availability to mitigate the risk of remote compromise.