CWE-94 对生成代码的控制不恰当(代码注入) 类弱点 1738 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-94 指代码注入漏洞,属于输入验证缺陷。攻击者通过向程序提供恶意构造的外部输入,利用未正确过滤的特殊字符或代码片段,篡改预期代码逻辑或注入可执行指令,从而劫持系统控制权。开发者应避免直接拼接用户输入,采用白名单验证机制,并使用参数化查询或沙箱环境隔离执行上下文,确保输入数据的合法性与安全性,从根本上阻断恶意代码的注入路径。
$MessageFile = "messages.out"; if ($_GET["action"] == "NewMessage") { $name = $_GET["name"]; $message = $_GET["message"]; $handle = fopen($MessageFile, "a+"); fwrite($handle, "<b>$name</b> says '$message'<hr>\n"); fclose($handle); echo "Message Saved!<p>\n"; } else if ($_GET["action"] == "ViewMessages") { include($MessageFile); }
name=h4x0r message=%3C?php%20system(%22/bin/ls%20-l%22);?%3E
use CGI qw(:standard); sub config_file_add_key { my ($fname, $key, $arg) = @_; # code to add a field/key to a file goes here } sub config_file_set_key { my ($fname, $key, $arg) = @_; # code to set key to a particular file goes here } sub config_file_delete_key { my ($fname, $key, $arg) = @_; # code to delete key from a particular file goes here } sub handleConfigAction { my ($fname, $action) = @_; my $key = param('key'); my $val = param('val'); # this is super-efficient code, especially if you have to invoke # any one of dozens of different functions! my $code = "config_file_$action_key(\$fnam
add_key(",","); system("/bin/ls");
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2025-54374 | Eidos 安全漏洞 — eidos | 8.8 | High | 2025-10-03 |
| CVE-2025-46818 | Redis 代码注入漏洞 — redis | 6.0 | Medium | 2025-10-03 |
| CVE-2025-61590 | Cursor 代码注入漏洞 — cursor | 7.5 | High | 2025-10-03 |
| CVE-2025-59536 | Claude Code 代码注入漏洞 — claude-code | 8.8AI | High AI | 2025-10-03 |
| CVE-2025-61588 | RISC Zero Ethereum 代码注入漏洞 — risc0 | 8.8AI | High AI | 2025-10-01 |
| CVE-2025-59954 | Knowage 安全漏洞 — Knowage-Server | 9.8 | - | 2025-09-29 |
| CVE-2025-60114 | WordPress plugin YayCurrency 代码注入漏洞 — YayCurrency | 6.6 | Medium | 2025-09-26 |
| CVE-2025-10993 | MuYuCMS 代码注入漏洞 — MuYuCMS | 4.7 | Medium | 2025-09-26 |
| CVE-2025-59823 | Gardener Extension for AWS provider 代码注入漏洞 — gardener-extension-provider-aws | 7.2AI | High AI | 2025-09-25 |
| CVE-2025-23354 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-09-24 |
| CVE-2025-23353 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-09-24 |
| CVE-2025-23349 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-09-24 |
| CVE-2025-23348 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-09-24 |
| CVE-2025-5717 | WSO2 Identity Server 安全漏洞 — WSO2 API Manager | 6.8 | Medium | 2025-09-23 |
| CVE-2025-9321 | WordPress plugin WPCasa 代码注入漏洞 — WPCasa | 9.8 | Critical | 2025-09-23 |
| CVE-2025-59528 | Flowise 代码注入漏洞 — Flowise | 10.0 | Critical | 2025-09-22 |
| CVE-2025-58673 | WordPress plugin WP User Frontend 代码注入漏洞 — WP User Frontend | 5.4 | Medium | 2025-09-22 |
| CVE-2025-58766 | Dyad 代码注入漏洞 — dyad | 9.1 | Critical | 2025-09-17 |
| CVE-2025-10057 | WordPress plugin WP Import – Ultimate CSV XML Importer for WordPress 代码注入漏洞 — WP Import – Ultimate CSV XML Importer for WordPress | 8.8 | High | 2025-09-17 |
| CVE-2025-10394 | fcba_zzm ics-park 代码注入漏洞 — ics-park Smart Park Management System | 4.7 | Medium | 2025-09-14 |
| CVE-2025-59053 | Project AIRI 代码注入漏洞 — airi | 9.7 | Critical | 2025-09-11 |
| CVE-2025-8417 | WordPress plugin Catalog Importer Scraper Crawler 代码注入漏洞 — Catalog Importer, Scraper & Crawler | 8.1 | High | 2025-09-11 |
| CVE-2025-59041 | Claude Code 代码注入漏洞 — claude-code | 8.8AI | High AI | 2025-09-10 |
| CVE-2025-58764 | Claude Code 代码注入漏洞 — claude-code | 8.8AI | High AI | 2025-09-10 |
| CVE-2025-59042 | PyInstaller 代码注入漏洞 — pyinstaller | 7.5AI | High AI | 2025-09-09 |
| CVE-2025-58768 | DeepChat 代码注入漏洞 — deepchat | 9.7 | Critical | 2025-09-09 |
| CVE-2025-9539 | WordPress plugin AutomatorWP 代码注入漏洞 — AutomatorWP – Automator plugin for no-code automations, webhooks & custom integrations in WordPress | 8.0 | High | 2025-09-09 |
| CVE-2025-9489 | WordPress plugin WP-Members Membership Plugin 代码注入漏洞 — WP-Members Membership Plugin | 5.0 | Medium | 2025-09-09 |
| CVE-2025-42922 | SAP NetWeaver AS Java 代码注入漏洞 — SAP NetWeaver AS Java (Deploy Web Service) | 9.9 | Critical | 2025-09-09 |
| CVE-2025-58745 | WeGIA 代码问题漏洞 — WeGIA | 10.0 | Critical | 2025-09-08 |
CWE-94(对生成代码的控制不恰当(代码注入)) 是常见的弱点类别,本平台收录该类弱点关联的 1738 条 CVE 漏洞。