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-8723 | WordPress plugin Cloudflare Image Resizing 代码注入漏洞 — Cloudflare Image Resizing – Optimize & Accelerate Your Images | 9.8 | Critical | 2025-08-19 |
| CVE-2025-8878 | WordPress plugin The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress 代码注入漏洞 — Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress | 6.5 | Medium | 2025-08-16 |
| CVE-2025-8105 | WordPress plugin Soledad 代码注入漏洞 — Soledad | 7.3 | High | 2025-08-16 |
| CVE-2025-7961 | Kap 代码注入漏洞 — KAP | 9.8AI | Critical AI | 2025-08-15 |
| CVE-2025-54466 | Apache OFBiz 安全漏洞 — Apache OFBiz | 9.8AI | Critical AI | 2025-08-15 |
| CVE-2025-8905 | WordPress plugin Inpersttion For Theme 代码注入漏洞 — Inpersttion For Theme | 6.3 | Medium | 2025-08-15 |
| CVE-2025-55192 | HomeAssistant-Tapo: Cameras Control 代码注入漏洞 — HomeAssistant-Tapo-Control | 8.8AI | High AI | 2025-08-14 |
| CVE-2025-39483 | WordPress plugin Eventer 代码注入漏洞 — Eventer | 6.5 | Medium | 2025-08-14 |
| CVE-2025-49887 | WordPress plugin Product XML Feed Manager for WooCommerce 代码注入漏洞 — Product XML Feed Manager for WooCommerce | 9.9 | Critical | 2025-08-14 |
| CVE-2025-55346 | Flowise 安全漏洞 | 9.8 | Critical | 2025-08-14 |
| CVE-2011-10011 | Sourceforge WeBid 安全漏洞 — WeBid | 9.8AI | Critical AI | 2025-08-13 |
| CVE-2011-10013 | Traq 安全漏洞 — Issue Tracking System | 10.0 | Critical | 2025-08-13 |
| CVE-2011-10019 | Spree Commerce 安全漏洞 — Spreecommerce | 9.8AI | Critical AI | 2025-08-13 |
| CVE-2025-23306 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-08-13 |
| CVE-2025-23305 | NVIDIA Megatron-LM 代码注入漏洞 — Megatron-LM | 7.8 | High | 2025-08-13 |
| CVE-2025-23298 | NVIDIA Merlin Transformers4Rec 代码注入漏洞 — NVIDIA Merlin Transformers4Rec | 7.8 | High | 2025-08-13 |
| CVE-2025-23296 | NVIDIA Isaac-GR00T 代码注入漏洞 — NVIDIA Isaac-GR00T N1 | 7.8 | High | 2025-08-13 |
| CVE-2025-23295 | NVIDIA Apex 代码注入漏洞 — NVIDIA Apex | 7.8 | High | 2025-08-13 |
| CVE-2025-42957 | SAP S/4HANA 代码注入漏洞 — SAP S/4HANA (Private Cloud or On-Premise) | 9.9 | Critical | 2025-08-12 |
| CVE-2025-42950 | SAP Landscape Transformation 代码注入漏洞 — SAP Landscape Transformation (Analysis Platform) | 9.9 | Critical | 2025-08-12 |
| CVE-2025-42945 | SAP NetWeaver Application Server ABAP 代码注入漏洞 — SAP NetWeaver Application Server ABAP | 6.1 | Medium | 2025-08-12 |
| CVE-2025-54063 | cherry 代码注入漏洞 — cherry-studio | 8.0 | High | 2025-08-11 |
| CVE-2025-54997 | OpenBao 代码注入漏洞 — openbao | 9.1 | Critical | 2025-08-09 |
| CVE-2025-54417 | Craft CMS 代码注入漏洞 — cms | 6.6 | - | 2025-08-09 |
| CVE-2025-54940 | WordPress plugin Advanced Custom Fields 代码注入漏洞 — Advanced Custom Fields | 6.1 | - | 2025-08-08 |
| CVE-2025-8518 | Vvveb 注入漏洞 — Vvveb | 4.7 | Medium | 2025-08-04 |
| CVE-2025-6204 | Dassault Systèmes DELMIA Apriso 安全漏洞 — DELMIA Apriso | 8.0 | High | 2025-08-04 |
| CVE-2025-54593 | FreshRSS 代码注入漏洞 — FreshRSS | 7.2 | High | 2025-08-01 |
| CVE-2025-6000 | HashiCorp Vault Enterprise和HashiCorp Vault Community Edition 安全漏洞 — Vault | 9.1 | Critical | 2025-08-01 |
| CVE-2013-10035 | ProcessMaker Open Source 安全漏洞 — ProcessMaker Open Source | 8.8AI | High AI | 2025-07-31 |
CWE-94(对生成代码的控制不恰当(代码注入)) 是常见的弱点类别,本平台收录该类弱点关联的 1738 条 CVE 漏洞。