Skip to content

Commit 97e90b4

Browse files
authored
Merge commit from fork
Fixed GHSA-2fph-6v5w-89hh
2 parents ecad338 + c7d825e commit 97e90b4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Fixed a bug where drafts within “My Drafts” widgets weren’t getting hyperlinked. ([#18456](https://github.com/craftcms/cms/issues/18456))
1111
- Fixed a bug where nested entries were getting assigned new IDs if they were edited multiple times for the same owner element draft. ([#18461](https://github.com/craftcms/cms/issues/18461))
1212
- Fixed a bug where the “New Tab” button within field layout designers could be positioned incorrectly. ([#18450](https://github.com/craftcms/cms/issues/18450))
13+
- Fixed a [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) RCE vulnerability. ([GHSA-2fph-6v5w-89hh](https://github.com/craftcms/cms/security/advisories/GHSA-2fph-6v5w-89hh))
1314
- Fixed a [low-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) path traversal vulnerability. (GHSA-472v-j2g4-g9h2)
1415

1516
## 5.9.12 - 2026-02-18

src/controllers/ElementIndexesController.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,10 @@ public function actionFilterHud(): Response
491491
}
492492

493493
if (!empty($fieldLayouts)) {
494-
$condition->setFieldLayouts(array_map(fn(array $config) => FieldLayout::createFromConfig($config), $fieldLayouts));
494+
$condition->setFieldLayouts(array_map(
495+
fn(array $config) => FieldLayout::createFromConfig($config),
496+
Component::cleanseConfig($fieldLayouts),
497+
));
495498
}
496499

497500
$condition->mainTag = 'div';

0 commit comments

Comments
 (0)