Skip to main content

Insecure or unset HTTP headers - Content-Type

Description#

The application does not define the Content-Type header in the server responses

Impact#

Lead to unexpected behaviors due to content type misinterpretations

Recommendation#

Define explicitly the content types allowed by the application.

Threat#

Authenticated 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: L
  • User interaction: N
  • Scope: U
  • Confidentiality: N
  • Integrity: L
  • Availability: N

Temporal#

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

Result#

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

Requirements#