{"id":"GHSA-vxq2-p937-3px3","summary":"Pinned entity creation form shows wrong data","details":"### Impact\n\nLogged in user can access page state data of pinned pages of other users by pageId hash.\n\n\n### Patch\n\n```patch\n--- src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php\n+++ src/Oro/Bundle/NavigationBundle/Controller/Api/PagestateController.php\n@@ -158,6 +158,13 @@\n             AbstractPageState::generateHash($this-\u003eget('request_stack')-\u003egetCurrentRequest()-\u003eget('pageId'))\n         );\n \n+        if ($entity) {\n+            $entity = $this-\u003egetEntity($entity-\u003egetId());\n+        }\n+        if (!$entity) {\n+            return $this-\u003ehandleNotFound();\n+        }\n+\n         return $this-\u003ehandleView($this-\u003eview($this-\u003egetState($entity), Response::HTTP_OK));\n     }\n \n```","aliases":["CVE-2023-45824"],"modified":"2026-09-10T03:50:10.776612220Z","published":"2024-03-25T19:39:21Z","database_specific":{"cwe_ids":["CWE-200"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-03-25T19:39:21Z","nvd_published_at":"2024-03-25T19:15:57Z"},"references":[{"type":"WEB","url":"https://github.com/oroinc/platform/security/advisories/GHSA-vxq2-p937-3px3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-45824"},{"type":"WEB","url":"https://github.com/oroinc/platform/commit/cf94df7595afca052796e26b299d2ce031e289cd"},{"type":"PACKAGE","url":"https://github.com/oroinc/platform"}],"affected":[{"package":{"name":"oro/platform","ecosystem":"Packagist","purl":"pkg:composer/oro/platform"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.1.0"},{"fixed":"5.1.4"}]}],"versions":["5.1.0","5.1.1","5.1.2","5.1.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 5.1.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-vxq2-p937-3px3/GHSA-vxq2-p937-3px3.json"}},{"package":{"name":"oro/platform","ecosystem":"Packagist","purl":"pkg:composer/oro/platform"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"last_affected":"5.0.12"}]}],"versions":["5.0.0","5.0.1","5.0.10","5.0.11","5.0.12","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-vxq2-p937-3px3/GHSA-vxq2-p937-3px3.json"}},{"package":{"name":"oro/platform","ecosystem":"Packagist","purl":"pkg:composer/oro/platform"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"last_affected":"4.2.10"}]}],"versions":["4.2.0","4.2.1","4.2.10","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-vxq2-p937-3px3/GHSA-vxq2-p937-3px3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}