CyberSecBulletin

Improper Neutralization of Directives in Statically Saved Code

CWE-96

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template.

We track 13 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.5. 1 has been exploited in real attacks.

How this weakness is prevented

  • Implementation: Perform proper output validation and escaping to neutralize all code syntax from data written to code files.

Latest Improper Neutralization of Directives in Statically Saved Code vulnerabilities