CyberSecBulletin

Improper Control of Generation of Code

CWE-94

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.

We track 2,468 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.8. 82 have been exploited in real attacks.

How this weakness is prevented

  • Architecture and Design: Refactor your program so that you do not have to dynamically generate code.
  • Architecture and Design: Run your code in a jail or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
  • Testing: Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
  • Operation: Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
  • Operation: Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).

Latest Improper Control of Generation of Code vulnerabilities

  • 7.2 High severity

    WSO2 API Manager: Improper Control of Generation of Code

    CVE-2025-5717WSO2

    An authenticated remote code execution (RCE) vulnerability exists in multiple WSO2 products due to improper input validation in the event processor admin service. A user with administrative access to the SOAP admin services can exploit this flaw by deploying a

  • 9.8 Critical severity

    WPCasa: Improper Control of Generation of Code

    CVE-2025-9321WPSight

    The WPCasa plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.4.1. This is due to insufficient input validation and restriction on the 'api_requests' function. This makes it possible for unauthenticated attackers to ca

  • 10.0 Critical severity

    Flowise: Improper Control of Generation of Code

    CVE-2025-59528FlowiseAIEPSS 91.7%

    Flowise is a drag & drop user interface to build a customized large language model flow. In version 3.0.5, Flowise is vulnerable to remote code execution. The CustomMCP node allows users to input configuration settings for connecting to an external MCP server.

  • 8.8 High severity

    Creabox Manager: Improper Control of Generation of Code

    CVE-2025-57439Creacast

    Creacast Creabox Manager 4.4.4 contains a critical Remote Code Execution vulnerability accessible via the edit.php endpoint. An authenticated attacker can inject arbitrary Lua code into the configuration, which is then executed on the server. This allows full

  • 9.1 Critical severity

    Accela Automation Platform 22.2.3.0.230103 contains multiple vulnerabilities in the Test…

    CVE-2025-57644Accela

    Accela Automation Platform 22.2.3.0.230103 contains multiple vulnerabilities in the Test Script feature. An authenticated administrative user can execute arbitrary Java code on the server, resulting in remote code execution. In addition, improper input validat

  • 9.0 Critical severity

    dyad: Improper Control of Generation of Code

    CVE-2025-58766Dyad-sh

    Dyad is a local AI app builder. A critical security vulnerability has been discovered that affected Dyad v0.19.0 and earlier versions that allows attackers to execute arbitrary code on users' systems. The vulnerability affects the application's preview window

  • 8.8 High severity

    WP Import – Ultimate CSV XML Importer for…: Improper Control of Generation of Code

    CVE-2025-10057Smackcoders

    The WP Import – Ultimate CSV XML Importer for WordPress plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 7.28. This is due to the write_to_customfile() function writing unfiltered PHP code to a file. This makes

  • 10.0 Critical severity

    Cloud Gateway: Improper Control of Generation of Code

    CVE-2025-41243SpringEPSS 3.67%

    Spring Cloud Gateway Server Webflux may be vulnerable to Spring Environment property modification. An application should be considered vulnerable when all the following are true: * The application is using Spring Cloud Gateway Server Webflux (Spring Cloud Gate

  • 7.2 High severity

    ics-park Smart Park Management System: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2025-10394Fcba Zzm

    A vulnerability has been found in fcba_zzm ics-park Smart Park Management System 2.0. Affected is an unknown function of the file ruoyi-quartz/src/main/java/com/ruoyi/quartz/controller/JobController.java of the component Scheduled Task Module. Such manipulatio

  • 9.6 Critical severity

    airi: Improper Control of Generation of Code

    CVE-2025-59053Moeru-ai

    AIRI is a self-hosted, artificial intelligence based Grok Companion. In v0.7.2-beta.2 in the `packages/stage-ui/src/components/MarkdownRenderer.vue` path, the Markdown content is processed using the useMarkdown composable, and the processed HTML is rendered di

  • 8.1 High severity

    Catalog Importer, Scraper & Crawler: Improper Control of Generation of Code

    CVE-2025-8417Idiatech

    The Catalog Importer, Scraper & Crawler plugin for WordPress is vulnerable to PHP code injection in all versions up to, and including, 5.1.4. This is due to reliance on a guessable numeric token (e.g. ?key= 900001705) without proper authentication, combined wi

  • 9.8 Critical severity

    claude-code: Improper Control of Generation of Code

    CVE-2025-59041Anthropics

    Claude Code is an agentic coding tool. At startup, Claude Code executed a command templated in with `git config user.email`. Prior to version 1.0.105, a maliciously configured user email in git could be used to trigger arbitrary code execution before a user ac

  • 9.8 Critical severity

    claude-code: Improper Control of Generation of Code

    CVE-2025-58764Anthropics

    Claude Code is an agentic coding tool. Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability

  • 7.0 High severity

    pyinstaller: Improper Control of Generation of Code

    CVE-2025-59042Pyinstaller

    PyInstaller bundles a Python application and all its dependencies into a single package. Due to a special entry being appended to `sys.path` during the bootstrap process of a PyInstaller-frozen application, and due to the bootstrap script attempting to load an

  • 9.6 Critical severity

    deepchat: Improper Neutralization of Input During Web Page Generation

    CVE-2025-58768ThinkInAIXYZ

    DeepChat is a smart assistant uses artificial intelligence. Prior to version 0.3.5, in the Mermaid chart rendering component, there is a risky operation of directly using `innerHTML` to set user content. Therefore, any malicious content rendered via Mermaid wi

  • 9.8 Critical severity

    xwiki-pro-macros: Improper Control of Generation of Code

    CVE-2025-55728Xwikisas

    XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the classes parameter in the panel macro allows remote code execution for any u

  • 9.8 Critical severity

    xwiki-pro-macros: Improper Control of Generation of Code

    CVE-2025-55727XwikisasEPSS 1.06%

    XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in version 1.0 and prior to version 1.26.5, missing escaping of the width parameter in the column macro allows remote code execution for any us

  • 8.0 High severity

    AutomatorWP – Automator plugin for no-code…: Improper Control of Generation of Code

    CVE-2025-9539Rubengc

    The AutomatorWP – Automator plugin for no-code automations, webhooks & custom integrations in WordPress plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the automatorwp_ajax_import_automation_from_url

  • 9.9 Critical severity

    SAP NetWeaver AS Java (Deploy Web Service): Improper Control of Generation of Code

    CVE-2025-42922SAP

    SAP NetWeaver AS Java allows an attacker authenticated as a non-administrative user to use a flaw in an available service to upload an arbitrary file. This file when executed can lead to a full compromise of confidentiality, integrity and availability of the s

  • 8.8 High severity

    WeGIA: Unrestricted Upload of File with Dangerous Type

    CVE-2025-58745LabRedesCefetRJ

    WeGIA is a Web manager for charitable institutions. The fix for CVE-2025-22133 was not enough to remediate the arbitrary file upload vulnerability. The WeGIA only check MIME types for Excel files at endpoint `/html/socio/sistema/controller/controla_xlsx.php`,

  • 9.8 Critical severity

    sim: Improper Control of Generation of Code

    CVE-2025-10097SimStudioAI

    A vulnerability was identified in SimStudioAI sim up to 1.0.0. This impacts an unknown function of the file apps/sim/app/api/function/execute/route.ts. The manipulation of the argument code leads to code injection. The attack is possible to be carried out remo

  • 7.3 High severity

    REHub - Price Comparison, Multi Vendor…: Improper Control of Generation of Code

    CVE-2025-7366Sizam

    The The REHub - Price Comparison, Multi Vendor Marketplace Wordpress Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 19.9.7. This is due to the software allowing users to execute an action that doe

  • 9.8 Critical severity

    Roo-Code: Improper Control of Generation of Code

    CVE-2025-58372RooCodeInc

    Roo Code is an AI-powered autonomous coding agent that lives in users' editors. Versions 3.25.23 and below contain a vulnerability where certain VS Code workspace configuration files (.code-workspace) are not protected in the same way as the .vscode folder. If

  • 7.2 High severity

    Easy Timer: Improper Control of Generation of Code

    CVE-2025-9519Kleor

    The Easy Timer plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 4.2.1 via the plugin's shortcodes. This is due to insufficient restriction of shortcode attributes. This makes it possible for authenticated attack

  • 7.2 High severity

    atec Debug: Improper Control of Generation of Code

    CVE-2025-9517Docjojo

    The atec Debug plugin for WordPress is vulnerable to remote code execution in all versions up to, and including, 1.2.22 via the 'custom_log' parameter. This is due to insufficient sanitization when saving the custom log path. This makes it possible for authent

  • 8.8 High severity

    Dive: Improper Control of Generation of Code

    CVE-2025-58176OpenAgentPlatformEPSS 10%

    Dive is an open-source MCP Host Desktop Application that enables integration with function-calling LLMs. In versions 0.9.0 through 0.9.3, there is a one-click Remote Code Execution vulnerability triggered through a custom url value, `transport` in the JSON obj

  • 8.8 High severity

    WeGIA: Unrestricted Upload of File with Dangerous Type

    CVE-2025-58159LabRedesCefetRJ

    WeGIA is a Web manager for charitable institutions. Prior to version 3.4.11, a remote code execution vulnerability was identified, caused by improper validation of uploaded files. The application allows an attacker to upload files with arbitrary filenames, inc

  • 8.1 High severity

    YouTube Showcase: Improper Control of Generation of Code

    CVE-2025-54731eMarket Design

    Improper Control of Generation of Code ('Code Injection') vulnerability in emarket-design YouTube Showcase youtube-showcase allows Object Injection.This issue affects YouTube Showcase: from n/a through <= 3.5.1.

  • 9.1 Critical severity

    bidorbuy Store Integrator: Improper Control of Generation of Code

    CVE-2025-48100Extremeidea

    Improper Control of Generation of Code ('Code Injection') vulnerability in extremeidea bidorbuy Store Integrator bidorbuystoreintegrator allows Remote Code Inclusion.This issue affects bidorbuy Store Integrator: from n/a through <= 2.12.0.

  • 8.8 High severity

    Coolify: Improper Control of Generation of Code

    CVE-2025-34159coolLabs Technologies

    Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application deployment workflow. The platform allows authenticated users, with low-level member privileges, to inject arbitrary Docker Compose directives

  • 9.8 Critical severity

    Freeform: Improper Control of Generation of Code

    CVE-2025-52122Solspace

    Freeform 5.0.0 to before 5.10.16, a plugin for CraftCMS, contains an Server-side template injection (SSTI) vulnerability, resulting in arbitrary code injection for all users that have access to editing a form (submission title).

  • 9.4 Critical severity

    CGM CLININET: Improper Control of Generation of Code

    CVE-2025-30057CGM

    In UHCRTFDoc, the filename parameter can be exploited to execute arbitrary code via command injection into the system() call in the ConvertToPDF function.

  • 9.4 Critical severity

    CGM CLININET: Improper Control of Generation of Code

    CVE-2025-30056CGM

    The RunCommand function accepts any parameter, which is then passed for execution in the shell. This allows an attacker to execute arbitrary code on the system.

  • 9.0 Critical severity

    CGM CLININET: Improper Control of Generation of Code

    CVE-2025-30055CGM

    The "system" function receives untrusted input from the user. If the "EnableJSCaching" option is enabled, it is possible to execute arbitrary code provided as the "Module" parameter.

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-23315NVIDIA

    NVIDIA NeMo Framework for all platforms contains a vulnerability in the export and deploy component, where malicious data created by an attacker could cause a code injection issue. A successful exploit of this vulnerability might lead to code execution, escala

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-23314NVIDIA

    NVIDIA NeMo Framework for all platforms contains a vulnerability in the NLP component, where malicious data created by an attacker could cause a code injection issue. A successful exploit of this vulnerability might lead to code execution, escalation of privil

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-23313NVIDIA

    NVIDIA NeMo Framework for all platforms contains a vulnerability in the NLP component, where malicious data created by an attacker could cause a code injection issue. A successful exploit of this vulnerability might lead to code execution, escalation of privil

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-23312NVIDIA

    NVIDIA NeMo Framework for all platforms contains a vulnerability in the retrieval services component, where malicious data created by an attacker could cause a code injection. A successful exploit of this vulnerability might lead to code execution, escalation

  • 7.8 High severity

    NVIDIA NeMo Curator: Improper Control of Generation of Code

    CVE-2025-23307NVIDIA

    NVIDIA NeMo Curator for all platforms contains a vulnerability where a malicious file created by an attacker could allow code injection. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, information disclosure,

  • 7.5 High severity

    Selectzero: Improper Control of Generation of Code

    CVE-2025-52218Selectzero

    SelectZero Data Observability Platform before 2025.5.2 is vulnerable to Content Spoofing / Text Injection. Improper sanitization of unspecified parameters allows attackers to inject arbitrary text or limited HTML into the login page.