cve.bz

CWE-96: Improper Neutralization of Directives in Statically Saved Code (Static Code Injection), published in 2022

Filter

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.

What the weakness is: CWE-96 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses

Related attack patterns (CAPEC): 5
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to CWE-96, as MITRE names them. Credits.

Ask an AI about CWE-96

Show the promptExplain CWE-96: Improper Neutralization of Directives in Statically Saved Code and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/96.html and https://cve.bz/cve/cwe/96?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 9.8CVE-2022-0895microweberEPSS 1.7%

    Static Code Injection in GitHub repository microweber/microweber prior to 1.3.