CyberSecBulletin

Improper Neutralization of HTTP Headers for Scripting Syntax

CWE-644

The product does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.

We track 20 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.3.

How this weakness is prevented

  • Architecture and Design: Carefully control data that is being placed both in HTTP response headers and in the HTTP response body to ensure that no scripting syntax is present, taking various encodings into account. Perform output validation in order to filter/escape/encode unsafe data that is being passed from the server in an HTTP response header.
  • Architecture and Design: Disable script execution functionality in the clients' browser.

Latest Improper Neutralization of HTTP Headers for Scripting Syntax vulnerabilities