{"items":[{"id":"NVI-00004313","kind":"vulnerability","title":"php-weasyprint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc)","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-f5gc-qxf8-mh9g","CVE-2026-49260"],"plain_summary":"OSV carries this publisher advisory for pontedilana/php-weasyprint. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.5.1 for pontedilana/php-weasyprint. Confirm the publisher’s latest guidance.","source_ids":["sr-61333885a1a833e88610da1fe56e7d79"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-10e7d450cddf9e4d36474611ca30fab0"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-25T23:10:00.167Z","value":"8.2 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-82b8cb98f5f63b7235ae4aea6e9b3f81"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.210%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.1128. Missing scores are unknown.","source_id":"sr-10e7d450cddf9e4d36474611ca30fab0"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-61333885a1a833e88610da1fe56e7d79","url":"https://github.com/advisories/GHSA-f5gc-qxf8-mh9g","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5gc-qxf8-mh9g","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"},{"id":"sr-82b8cb98f5f63b7235ae4aea6e9b3f81","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49260","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-49260","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:22.913Z"},{"id":"sr-10e7d450cddf9e4d36474611ca30fab0","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-49260","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.382Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-61333885a1a833e88610da1fe56e7d79"],"technology":"pontedilana/php-weasyprint","known_exclusions":[],"conditions_summary":"### Summary\n\n`pontedilana/php-weasyprint` builds the shell command for WeasyPrint by passing the binary path through `escapeshellarg()` first and then checking the *quoted* result with `is_executable()`. On POSIX `escapeshellarg('/usr/local/bin/weasyprint')` returns `'/usr/local/bin/weasyprint'` with the single-quote characters as part of the string, so `is_executable()` looks for a file whose actual name includes those quotes. That file never exists, the \"safe\" branch is dead code, and the raw `$binary` string (set via the constructor or `setBinary()`) flows directly into `Symfony\\Component\\Process\\Process::fromShellCommandline()`. Any deployment whose binary path is sourced from configuration, an environment variable, or a per-tenant setting reaches a shell-command-injection sink. The library is documented as a one-to-one substitute for KnpLabs/snappy and inherited the exact pre-fix codepath KnpLabs patched in GHSA-vpr4-p6fq-85jc (Snappy 1.7.1).\n\n### Affected versions\n\n`pontedilana/php-weasyprint` versions `<= 2.5.0` (current `master` tip commit `c2b51fed0bf442c3bf0292b879a09944d436f2a0`, 2026-04-03).\n\nP","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.5.1"]}],"null_published_at":"2026-11-03T17:49:21.354Z","source_updated_at":"2026-09-10T03:50:49.304Z","source_disclosed_at":"2026-06-26T21:46:27.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:10.709Z"},{"id":"NVI-00004313","kind":"vulnerability","title":"php-weasyprint: shell command injection via configurable WeasyPrint binary path due to inverted is_executable() guard (mirror of KnpLabs/snappy GHSA-vpr4-p6fq-85jc)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-f5gc-qxf8-mh9g","CVE-2026-49260"],"plain_summary":"OSV carries this publisher advisory for pontedilana/php-weasyprint. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.5.1 for pontedilana/php-weasyprint. Confirm the publisher’s latest guidance.","source_ids":["sr-61333885a1a833e88610da1fe56e7d79"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-10e7d450cddf9e4d36474611ca30fab0"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.210%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.1128. Missing scores are unknown.","source_id":"sr-10e7d450cddf9e4d36474611ca30fab0"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-61333885a1a833e88610da1fe56e7d79","url":"https://github.com/advisories/GHSA-f5gc-qxf8-mh9g","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-f5gc-qxf8-mh9g","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.709Z"},{"id":"sr-10e7d450cddf9e4d36474611ca30fab0","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-49260","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.382Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-61333885a1a833e88610da1fe56e7d79"],"technology":"pontedilana/php-weasyprint","known_exclusions":[],"conditions_summary":"### Summary\n\n`pontedilana/php-weasyprint` builds the shell command for WeasyPrint by passing the binary path through `escapeshellarg()` first and then checking the *quoted* result with `is_executable()`. On POSIX `escapeshellarg('/usr/local/bin/weasyprint')` returns `'/usr/local/bin/weasyprint'` with the single-quote characters as part of the string, so `is_executable()` looks for a file whose actual name includes those quotes. That file never exists, the \"safe\" branch is dead code, and the raw `$binary` string (set via the constructor or `setBinary()`) flows directly into `Symfony\\Component\\Process\\Process::fromShellCommandline()`. Any deployment whose binary path is sourced from configuration, an environment variable, or a per-tenant setting reaches a shell-command-injection sink. The library is documented as a one-to-one substitute for KnpLabs/snappy and inherited the exact pre-fix codepath KnpLabs patched in GHSA-vpr4-p6fq-85jc (Snappy 1.7.1).\n\n### Affected versions\n\n`pontedilana/php-weasyprint` versions `<= 2.5.0` (current `master` tip commit `c2b51fed0bf442c3bf0292b879a09944d436f2a0`, 2026-04-03).\n\nP","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.5.1"]}],"null_published_at":"2026-10-31T22:13:48.406Z","source_updated_at":"2026-09-10T03:50:49.304Z","source_disclosed_at":"2026-06-26T21:46:27.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:10.709Z"}],"next_cursor":null,"snapshot_revision":"42594"}