CWE-644

Improper Neutralization of HTTP Headers for Scripting Syntax

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.

Mitigation

Phase: Architecture and Design

Description:

  • Perform output validation in order to filter/escape/encode unsafe data that is being passed from the server in an HTTP response header.
Mitigation

Phase: Architecture and Design

Description:

  • Disable script execution functionality in the clients' browser.

No CAPEC attack patterns related to this CWE.

Back to CWE stats page