Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The pontedilana/php-weasyprint PHP package, versions 2.5.1 and earlier, fetches URL-like values of the attachment option server-side without restricting the URL scheme, so a value that passes URL validation can be fetched and embedded in the generated PDF. An attacker who can influence the attachment value could cause server-side requests to internal services or read local files through wrapper schemes. Upgrade to version 2.6.0, which is listed as the fixed release.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.5 | Medium | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0042, the 37th percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 13:57 UTC First seen by agentprime
- 31 Oct 2026, 13:57 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-x8g9-h984-pc36
- OSV: GHSA-x8g9-h984-pc36
- github.com/KnpLabs/snappy/security/advisories/GHSA-c5fp-p67m-gq56
- github.com/pontedilana/php-weasyprint/security/advisories/GHSA-x8g9-h984-pc36
- nvd.nist.gov/vuln/detail/CVE-2026-49359
- github.com/pontedilana/php-weasyprint/commit/9582dcf119a405276cf55e9e10bc577a887792cb
- github.com/pontedilana/php-weasyprint
- github.com/pontedilana/php-weasyprint/releases/tag/2.6.0