{"items":[{"id":"NVI-00006253","kind":"vulnerability","title":"AVideo has PHP Code Injection via eval() in Gallery saveSort.json.php Exploitable Through CSRF Against Admin","revision":2,"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-xggw-g9pm-9qhh","CVE-2026-33479"],"plain_summary":"OSV carries this publisher advisory for wwbn/avideo. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-9b9ecc6a5e45db6bcc33f2fbccea2842"],"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-06-17T10:37:34.153Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-9b9ecc6a5e45db6bcc33f2fbccea2842"}],"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-ad6a762517dd110f0a90f06712a70025","url":"https://github.com/advisories/GHSA-xggw-g9pm-9qhh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-xggw-g9pm-9qhh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:51.444Z"},{"id":"sr-9b9ecc6a5e45db6bcc33f2fbccea2842","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33479","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-33479","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:22:50.140Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ad6a762517dd110f0a90f06712a70025"],"technology":"wwbn/avideo","known_exclusions":[],"conditions_summary":"## Summary\n\nThe Gallery plugin's `saveSort.json.php` endpoint passes unsanitized user input from `$_REQUEST['sections']` array values directly into PHP's `eval()` function. While the endpoint is gated behind `User::isAdmin()`, it has no CSRF token validation. Combined with AVideo's explicit `SameSite=None` session cookie configuration, an attacker can exploit this via cross-site request forgery to achieve unauthenticated remote code execution — requiring only that an admin visits an attacker-controlled page.\n\n## Details\n\n**Vulnerable code** — `plugin/Gallery/view/saveSort.json.php:20-25`:\n\n```php\nif(!empty($_REQUEST['sections'])){\n    $object = $gallery->getDataObject();\n    foreach ($_REQUEST['sections'] as $key => $value) {\n        $obj->sectionsSaved[] = array($key=>$value);\n        eval(\"\\$object->{$value}Order = \\$key;\");\n    }\n    $obj->error = !$gallery->setDataObject($object);\n}\n```\n\nThe `$value` variable from `$_REQUEST['sections']` is interpolated directly into the string passed to `eval()` with no sanitization — no allowlist, no regex validation, no escaping. Normal Gallery usage sends section names like `'Shorts'`, `'Trending'`, etc. from jQuery UI sortable, but the ser","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 26.0"]}],"null_published_at":"2026-11-06T15:18:11.510Z","source_updated_at":"2026-03-25T19:48:10.837Z","source_disclosed_at":"2026-03-20T20:44:02.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:51.444Z"},{"id":"NVI-00006253","kind":"vulnerability","title":"AVideo has PHP Code Injection via eval() in Gallery saveSort.json.php Exploitable Through CSRF Against Admin","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-xggw-g9pm-9qhh","CVE-2026-33479"],"plain_summary":"OSV carries this publisher advisory for wwbn/avideo. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-ad6a762517dd110f0a90f06712a70025"],"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":[],"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-ad6a762517dd110f0a90f06712a70025","url":"https://github.com/advisories/GHSA-xggw-g9pm-9qhh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-xggw-g9pm-9qhh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:51.444Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ad6a762517dd110f0a90f06712a70025"],"technology":"wwbn/avideo","known_exclusions":[],"conditions_summary":"## Summary\n\nThe Gallery plugin's `saveSort.json.php` endpoint passes unsanitized user input from `$_REQUEST['sections']` array values directly into PHP's `eval()` function. While the endpoint is gated behind `User::isAdmin()`, it has no CSRF token validation. Combined with AVideo's explicit `SameSite=None` session cookie configuration, an attacker can exploit this via cross-site request forgery to achieve unauthenticated remote code execution — requiring only that an admin visits an attacker-controlled page.\n\n## Details\n\n**Vulnerable code** — `plugin/Gallery/view/saveSort.json.php:20-25`:\n\n```php\nif(!empty($_REQUEST['sections'])){\n    $object = $gallery->getDataObject();\n    foreach ($_REQUEST['sections'] as $key => $value) {\n        $obj->sectionsSaved[] = array($key=>$value);\n        eval(\"\\$object->{$value}Order = \\$key;\");\n    }\n    $obj->error = !$gallery->setDataObject($object);\n}\n```\n\nThe `$value` variable from `$_REQUEST['sections']` is interpolated directly into the string passed to `eval()` with no sanitization — no allowlist, no regex validation, no escaping. Normal Gallery usage sends section names like `'Shorts'`, `'Trending'`, etc. from jQuery UI sortable, but the ser","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 26.0"]}],"null_published_at":"2026-10-31T22:13:10.044Z","source_updated_at":"2026-03-25T19:48:10.837Z","source_disclosed_at":"2026-03-20T20:44:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:51.444Z"}],"next_cursor":null,"snapshot_revision":"42594"}