CWE•Base•Incomplete•20 recent CVEs
CWE-1021Improper Restriction of Rendered UI Layers or Frames
Description
The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.
Common consequences
- Access Control→Gain Privileges or Assume Identity,Bypass Protection Mechanism,Read Application Data,Modify Application DataAn attacker can trick a user into performing actions that are masked and hidden from the user's view. The impact varies widely, depending on the functionality of the underlying application. For example, in a social media application, clickj
Potential mitigations
- ImplementationUse the "frame-ancestors" directive in the Content Security Policy, which is intended to define restrictions when it comes to allowing embedded content [REF-1544].
- Implementation[object Object]
- Implementation[object Object]
- ImplementationIn addition to frames or iframes as previously mentioned, the web application is expected to place restrictions on whether it is allowed to be rendered within objects, embed, or applet elements.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-739678.72026-11-18CVE-2026-1115183.12026-11-18CVE-2026-1310855.42026-11-17CVE-2026-1056252026-11-13CVE-2026-1022368.62026-11-10CVE-2026-181942.52026-11-08CVE-2026-1235294.62026-11-08CVE-2026-1238503.52026-11-06CVE-2026-218343.12026-11-06CVE-2026-1233115.32026-11-06CVE-2026-181594.32026-11-05CVE-2026-1085364.62026-11-04CVE-2026-1080492026-11-03CVE-2026-590065.02026-11-02CVE-2026-1197154.32026-10-30CVE-2026-209424.32026-10-29CVE-2026-670796.42026-10-28CVE-2026-770622026-10-26CVE-2026-1141252026-10-21CVE-2026-1130638.82026-10-20