{"items":[{"id":"NVI-00005778","kind":"vulnerability","title":"Craft CMS is Vulnerable to Authenticated Remote Code Execution via Malicious Attached Behavior","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-2fph-6v5w-89hh","CVE-2026-33157"],"plain_summary":"OSV carries this publisher advisory for craftcms/cms. 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 5.9.13 for craftcms/cms. Confirm the publisher’s latest guidance.","source_ids":["sr-9c59e11bc080d1d333c850375bef52e6"],"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}],"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-9c59e11bc080d1d333c850375bef52e6","url":"https://github.com/advisories/GHSA-2fph-6v5w-89hh","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-2fph-6v5w-89hh","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:40.016Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-9c59e11bc080d1d333c850375bef52e6"],"technology":"craftcms/cms","known_exclusions":[],"conditions_summary":"## Summary\n\nA Remote Code Execution (RCE) vulnerability exists in Craft CMS 5.x and 4.x that bypasses the security fixes for GHSA-7jx7-3846-m7w7 and GHSA-255j-qw47-wjh5. This vulnerability can be exploited by any authenticated user with control panel access.\n\nThe existing patches add `cleanseConfig()` to `assembleLayoutFromPost()` and various `FieldsController` actions to strip Yii2 behavior/event injection keys (`as ` and `on ` prefixed keys). However, the `fieldLayouts` parameter in `ElementIndexesController::actionFilterHud()` is passed directly to `FieldLayout::createFromConfig()` without any sanitization, enabling the same behavior injection attack chain.\n\n## Impact\n\n- **Attack Type**: Remote Code Execution (RCE)\n- **Authentication Required**: Authenticated user with control panel access (`accessCp` permission)\n\n## Vulnerability Details\n\n### Root Cause\n\nIn `ElementIndexesController::actionFilterHud()` (line 493-494), the `fieldLayouts` body parameter is passed to `FieldLayout::createFromConfig()` without `cleanseConfig()`:\n\n```php\n// ElementIndexesController.php:485-494\nif ($conditionConfig) {\n    $conditionConfig = Component::cleanseConfig($conditionConfig); // conditionConfi","public_affected_ranges":["ECOSYSTEM: introduced 5.6.0; fixed 5.9.13"]}],"null_published_at":"2026-10-31T22:13:05.838Z","source_updated_at":"2026-03-25T21:16:24.491Z","source_disclosed_at":"2026-03-24T16:50:42.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:41:40.016Z"}],"next_cursor":null,"snapshot_revision":"42594"}