Improper Restriction of Rendered UI Layers or Frames in Sylius
Package
Affected versions
< 1.9.10
>= 1.10.0, < 1.10.11
>= 1.11.0, < 1.11.2
Patched versions
1.9.10
1.10.11
1.11.2
Description
Published by the National Vulnerability Database
Mar 14, 2022
Published to the GitHub Advisory Database
Mar 14, 2022
Reviewed
Mar 14, 2022
Last updated
Jan 27, 2023
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.And register it in the container:
For more information
If you have any questions or comments about this advisory:
References