Missing 'Content-Type' Charset

low Web App Scanning Plugin ID 114382

Synopsis

Missing 'Content-Type' Charset

Description

The Content-Type header allows clients to find an appropriate way to render data, omission of the charset can lead to various behaviour like a Cross-Site Scripting abusing the browser's auto-detection mechanism.

Solution

Configure your web server to include an 'Content-Type' header with a charset defined therein.

See Also

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type

https://www.iana.org/assignments/media-types/media-types.xhtml

https://www.sonarsource.com/blog/encoding-differentials-why-charset-matters/

https://www.w3.org/Protocols/rfc1341/4_Content-Type.html

Plugin Details

Severity: Low

ID: 114382

Type: remote

Published: 7/18/2024

Updated: 7/29/2024

Scan Template: basic, full, pci, quick, scan

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: Low

Base Score: 3.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

CVSS Score Source: Tenable

CVSS v4

Risk Factor: Low

Base Score: 2.1

Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: Tenable

Reference Information