Skip to content
OpenAdvisories

Weakness (CWE)

CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax

Variant Incomplete

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.

How to prevent it (2 mitigations)
  1. 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.

  2. Architecture and Design

    Disable script execution functionality in the clients' browser.

Source: MITRE CWE-644

4 results · Clear filters · Feed

  • Critical 9.0

    @fastify/reply-from vulnerable to connection header abuse enabling stripping of proxy-added headers

    @fastify/reply-from v12.6.1 and earlier and @fastify/http-proxy v11.4.3 and earlier process the client's Connection header after the proxy has added its own headers via rewriteRequestHeaders. This allows attackers to retroactively strip proxy-added headers fr…

  • Critical 9.3

    @perfood/couch-auth has a host header injection vulnerability

    A host header injection vulnerability in the mailer component of @perfood/couch-auth v0.26.0 allows attackers to obtain reset tokens and execute an account takeover via spoofing the HTTP Host header.

  • Critical 9.1

    A Host Header Poisoning vulnerability exists in Monica 4.1.2 due to improper handling of the HTTP Host header in app/Pr…

  • Critical 10.0

    IBM Tivoli Application Dependency Discovery Manager HOST header injection

    IBM Tivoli Application Dependency Discovery Manager 7.3.0.0 through 7.3.0.10 is vulnerable to HTTP header injection, caused by improper validation of input by the HOST headers. This could allow an attacker to conduct various attacks against the vulnerable sys…