MediumGHSA-4jp3-q2qm-9fmw
Improper Restriction of Rendered UI Layers or Frames in Sylius
Affected versions
before 1.9.10, 1.10.0 to before 1.10.11, 1.11.0 to before 1.11.2 - fixed in 1.9.10Details
### Impact It is possible for a page controlled by an attacker to load the website within an iframe. This will enable a clickjacking attack, in which the attacker's page overlays the target application's interface with a different interface provided by the attacker ### Patches The issue is fixed in versions: 1.9.10, 1.10.11, 1.11.2, and above. ### Workarounds Every response from app should have an X-Frame-Options header set to: ``sameorigin``. To achieve that you just need to add a new **subscriber** in your app. ```php <?php // src/EventListener/XFrameOptionsSubscriber.php namespace
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24733
- https://github.com/Sylius/Sylius/security/advisories/GHSA-4jp3-q2qm-9fmw
- https://nvd.nist.gov/vuln/detail/CVE-2022-24733
- https://github.com/Sylius/Sylius
- https://github.com/Sylius/Sylius/releases/tag/v1.10.11
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2
- https://github.com/Sylius/Sylius/releases/tag/v1.9.10
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected