VYPR

CWE-94

Improper Control of Generation of Code ('Code Injection')

BaseDraftLikelihood: Medium

Description

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Hierarchy (View 1000)

Related attack patterns (CAPEC)

CAPEC-242 · CAPEC-35 · CAPEC-77

CVEs mapped to this weakness (7,045)

page 148 of 353
  • CVE-2021-23632MedMar 17, 2022
    risk 0.43cvss 6.6epss 0.02

    All versions of package git are vulnerable to Remote Code Execution (RCE) due to missing sanitization in the Git.git method, which allows execution of OS commands rather than just git commands. Steps to Reproduce 1. Create a file named exploit.js with the following content: js…

  • CVE-2021-3615MedAug 17, 2021
    risk 0.43cvss 6.6epss 0.00

    A vulnerability was reported in Lenovo Smart Camera X3, X5, and C2E that could allow code execution if a specific file exists on the attached SD card. This vulnerability is the same as CNVD-2021-45262.

  • CVE-2021-25393MedJun 11, 2021
    risk 0.43cvss 6.6epss 0.00

    Improper sanitization of incoming intent in SecSettings prior to SMR MAY-2021 Release 1 allows local attackers to get permissions to access system uid data.

  • CVE-2021-21345MedMar 23, 2021
    risk 0.43cvss 5.8epss 0.72

    XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker who has sufficient rights to execute commands of the host only by manipulating the processed input stream. No user…

  • CVE-2020-15171MedSep 10, 2020
    risk 0.43cvss 6.6epss 0.01

    In XWiki before versions 11.10.5 or 12.2.1, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code…

  • CVE-2020-8194MedJul 10, 2020
    risk 0.43cvss 6.5epss 0.11

    Reflected code injection in Citrix ADC and Citrix Gateway versions before 13.0-58.30, 12.1-57.18, 12.0-63.21, 11.1-64.14 and 10.5-70.18 and Citrix SDWAN WAN-OP versions before 11.1.1a, 11.0.3d and 10.2.7 allows the modification of a file download.

  • CVE-2020-5259HigMar 10, 2020
    risk 0.43cvss 7.7epss 0.02

    In affected versions of dojox (NPM package), the jqMix method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker manipulates these attributes to…

  • CVE-2020-5258HigMar 10, 2020
    risk 0.43cvss 7.7epss 0.04

    In affected versions of dojo (NPM package), the deepCopy method is vulnerable to Prototype Pollution. Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects. An attacker manipulates these attributes…

  • CVE-2019-0222HigMar 28, 2019
    risk 0.43cvss 7.5epss 0.12

    In Apache ActiveMQ 5.0.0 - 5.15.8, unmarshalling corrupt MQTT frame can lead to broker Out of Memory exception making it unresponsive.

  • CVE-2017-17649MedDec 18, 2017
    risk 0.43cvss 6.1epss 0.03

    Readymade Video Sharing Script 3.2 has HTML Injection via the single-video-detail.php comment parameter.

  • CVE-2017-6325MedJun 26, 2017
    risk 0.43cvss 6.6epss 0.02

    The Symantec Messaging Gateway can encounter a file inclusion vulnerability, which is a type of vulnerability that is most commonly found to affect web applications that rely on a scripting run time. This issue is caused when an application builds a path to executable code using…

  • CVE-2026-72676MedAug 13, 2026
    risk 0.42cvss 6.5epss 0.00

    Improper Control of Generation of Code ('Code Injection') (CWE-94) in Fleet Server can lead to the execution of attacker-supplied script content via Code Injection (CAPEC-242). Kibana accepted an identifier for an output configuration without restricting it to safe characters.…

  • CVE-2026-18708MedAug 11, 2026
    risk 0.42cvss 6.4epss 0.00

    An issue in MongoDB Server's JavaScript scripting engine could allow an authenticated user with write privileges to cause code they control to be executed within the query scope of other users, through a specially crafted stored value processed during an internal maintenance…

  • CVE-2026-65660MedAug 11, 2026
    risk 0.42cvss 6.5epss 0.01

    Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to perform spoofing over a network.

  • CVE-2026-61536HigJul 30, 2026
    risk 0.42cvss 7.5epss 0.00

    Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.3, banks parses Tool JSON objects from the rendered body of {% completion %} blocks and later resolves their import_path field through importlib.import_module(...) + getattr(...) to…

  • CVE-2026-55415HigJul 28, 2026
    risk 0.42cvss 7.5epss 0.00

    datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON, YAML, or CSV. From 0.11.6 until 0.64.0, datamodel-code-generator allows attacker-controlled x-python-import or…

  • CVE-2026-63720HigJul 26, 2026
    risk 0.42cvss 7.5epss 0.00

    datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression.…

  • CVE-2026-59862HigJul 16, 2026
    risk 0.42cvss 7.5epss 0.01

    Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.0, Kiota's Python generator let attacker-controlled enum value descriptions from x-ms-enum.values[].description flow through KiotaBuilder.SetEnumOptions into Documentation.DescriptionTemplate and…

  • CVE-2026-59861HigJul 16, 2026
    risk 0.42cvss 7.5epss 0.01

    Kiota is an OpenAPI based HTTP Client code generator. Prior to 1.29.1 and 1.32.0, Kiota's Ruby generator embedded OpenAPI default fields, property names, and other schema-derived strings through CodeMethodWriter.cs and SanitizeForQuotedLiteral() in Writers/StringExtensions.cs…

  • CVE-2026-41523HigJun 22, 2026
    risk 0.42cvss 7.5epss 0.01

    vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious…