Skip to main content

Insecure or unset HTTP headers - X-Frame Options

Description#

The application uses the X-Frame Options header on the server responses as the only protection mechanism against clickjacking. This header is considered deprecated, since its protection can be bypassed using several iframe layers.

Impact#

Embed the application in malicious frames

Recommendation#

  • Disable the X-Frame Options from the server responses
  • Define the frame_ancestors policy in the Content Security Policy header

Threat#

Anonymous attacker from the Internet

Score#

Default score using CVSS 3.1. It may change depending on the context of the vulnerability.

Base#

  • Attack vector: N
  • Attack complexity: H
  • Privileges required: N
  • User interaction: R
  • Scope: U
  • Confidentiality: N
  • Integrity: L
  • Availability: N

Temporal#

  • Exploit code madurity: P
  • Remediation level: O
  • Report confidence: R

Result#

  • Vector string: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:R
  • Score:
    • Base: 3.1
    • Temporal: 2.7
  • Severity:
    • Base: Low
    • Temporal: Low

Requirements#