VariantIncomplete

CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Category: injection

Description

The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Common consequences· 5

  • Confidentiality — Read Files or Directories, Read Application Data
    The injected code could access restricted data / files.
  • Access Control — Bypass Protection Mechanism
    In some cases, injectable code controls authentication; this may lead to a remote vulnerability.
  • Access Control — Gain Privileges or Assume Identity
    Injected code can access resources that the attacker is directly prevented from accessing.
  • Integrity / Confidentiality / Availability / Other — Execute Unauthorized Code or Commands
    Code injection attacks can lead to loss of data integrity in nearly all cases as the control-plane data injected is always incidental to data recall or writing. Additionally, code injection can often result in the execution of arbitrary code or at least modify what code can be executed.
  • Non-Repudiation — Hide Activities
    Often the actions performed by injected control code are unlogged.

Potential mitigations· 4

  • [Architecture and Design, Implementation]If possible, refactor your code so that it does not need to use eval() at all.
  • [Implementation]
  • [Implementation]
  • [Implementation]

Related CAPEC attack patterns· 1

CAPEC-35

References

  1. https://cwe.mitre.org/data/definitions/95.html

Exploits (incoming)1

TypeTargetConfidenceTier
AttackPatternLeverage Executable Code in Non-Executable Filescapec-35100%live

(incoming)42

TypeTargetConfidenceTier
VulnerabilityXWiki Platform Eval Injection Vulnerabilitycve-2025-248930%live
VulnerabilityCVE-2025-26845cve-2025-268450%live
VulnerabilityCVE-2025-27603cve-2025-276030%live
VulnerabilityCVE-2025-40943cve-2025-409430%live
VulnerabilityCVE-2025-49013cve-2025-490130%live
VulnerabilityCVE-2025-50187cve-2025-501870%live
VulnerabilityCVE-2025-54322cve-2025-543220%live
VulnerabilityCVE-2025-55727cve-2025-557270%live
VulnerabilityCVE-2025-55728cve-2025-557280%live
VulnerabilityCVE-2025-61955cve-2025-619550%live
VulnerabilityCVE-2025-64496cve-2025-644960%live
VulnerabilityCVE-2025-65530cve-2025-655300%live
VulnerabilityCVE-2025-66474cve-2025-664740%live
VulnerabilityCVE-2025-68271cve-2025-682710%live
VulnerabilityCVE-2025-8420cve-2025-84200%live
VulnerabilityCVE-2026-0769cve-2026-07690%live
VulnerabilityCVE-2026-0863cve-2026-08630%live
VulnerabilityCVE-2026-1470cve-2026-14700%live
VulnerabilityCVE-2026-23885cve-2026-238850%live
VulnerabilityCVE-2026-27493cve-2026-274930%live
VulnerabilityCVE-2026-27702cve-2026-277020%live
VulnerabilityCVE-2026-28370cve-2026-283700%live
VulnerabilityCVE-2026-28505cve-2026-285050%live
VulnerabilityCVE-2026-29091cve-2026-290910%live
VulnerabilityLangflow Code Injection Vulnerabilitycve-2026-330170%live
VulnerabilityCVE-2026-33618cve-2026-336180%live
VulnerabilityCVE-2026-35002cve-2026-350020%live
VulnerabilityCVE-2026-4001cve-2026-40010%live
VulnerabilityCVE-2026-40316cve-2026-403160%live
VulnerabilityCVE-2026-42079cve-2026-420790%live

Showing top 30 of 42 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')
CWE
Improper Control of Generation of Code ('Code Injection')
CWE
Improper Neutralization of Special Elements Used in a Template Engine
CWE
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
CWE
Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
CWE
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.