Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-434 (危险类型文件的不加限制上传) — Vulnerability Class 2219

2219 vulnerabilities classified as CWE-434 (危险类型文件的不加限制上传). AI Chinese analysis included.

CWE-434 represents a critical input validation weakness where applications permit the upload of file types that are inherently dangerous or automatically processed by the system. Attackers typically exploit this vulnerability by uploading malicious scripts, such as web shells or executable binaries, disguised as legitimate documents or images. Once uploaded, these files are executed by the server, granting the attacker remote code execution capabilities and potentially full system compromise. To mitigate this risk, developers must implement strict allowlists that define only the specific, safe file extensions permitted for upload. Additionally, files should be stored outside the web root directory to prevent direct execution, and content verification techniques, such as checking file headers rather than relying solely on extensions, should be employed to ensure integrity and prevent evasion of basic validation checks.

MITRE CWE Description
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Common Consequences (1)
Integrity, Confidentiality, AvailabilityExecute Unauthorized Code or Commands
Arbitrary code execution is possible if an uploaded file is interpreted and executed as code by the recipient. This is especially true for web-server extensions such as .asp and .php because these file types are often treated as automatically executable, even when file system permissions do not spec…
Mitigations (5)
Architecture and DesignGenerate a new, unique filename for an uploaded file instead of using the user-supplied filename, so that no external input is used at all.[REF-422] [REF-423]
Architecture and DesignWhen the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs.
Architecture and DesignConsider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically. [REF-423]
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Architecture and DesignDefine a very limited set of allowable extensions and only generate filenames that end in these extensions. Consider the possibility of XSS (CWE-79) before allowing .html or .htm file types.
Examples (2)
The following code intends to allow a user to upload a picture to the web server. The HTML code that drives the form on the user end has an input field of type "file".
<form action="upload_picture.php" method="post" enctype="multipart/form-data"> Choose a file to upload: <input type="file" name="filename"/> <br/> <input type="submit" name="submit" value="Submit"/> </form>
Good · HTML
// Define the target location where the picture being // uploaded is going to be saved. $target = "pictures/" . basename($_FILES['uploadedfile']['name']); // Move the uploaded file to the new location. if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target)) { echo "The picture has been successfully uploaded."; } else { echo "There was an error uploading the picture, please try again."; }
Bad · PHP
The following code demonstrates the unrestricted upload of a file with a Java servlet and a path traversal vulnerability. The action attribute of an HTML form is sending the upload file request to the Java servlet.
<form action="FileUploadServlet" method="post" enctype="multipart/form-data"> Choose a file to upload: <input type="file" name="filename"/> <br/> <input type="submit" name="submit" value="Submit"/> </form>
Good · HTML
public class FileUploadServlet extends HttpServlet { ... protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); String contentType = request.getContentType(); // the starting position of the boundary header int ind = contentType.indexOf("boundary="); String boundary = contentType.substring(ind+9); String pLine = new String(); String uploadLocation = new String(UPLOAD_DIRECTORY_STRING); //Constant value // verify that content type is multipart form data i
Bad · Java
CVE IDTitleCVSSSeverityPublished
CVE-2026-12476 Easy Digital Downloads <= 3.6.9 - Authenticated (Shop Manager+) Arbitrary File Upload via 'edd-import-file' Parameter — Easy Digital Downloads – eCommerce Payments and Subscriptions made easy 7.2 High2026-07-29
CVE-2026-10818 WPForms Pro <= 1.10.1.1 - Unauthenticated Arbitrary File Write via Chunked Upload Init/Finalize Ordering — WPForms Pro 8.1 High2026-07-25
CVE-2026-24727 SUNNET Corporate Training Management System - Unrestricted Upload of File with Dangerous Type — Corporate Training Management System 9.3 Critical2026-07-24
CVE-2026-65461 WordPress Really Simple CSV Importer plugin <= 1.3 - Arbitrary File Upload vulnerability — Really Simple CSV Importer 9.1 Critical2026-07-23
CVE-2026-65455 WordPress MapSVG plugin <= 8.14.0 - Arbitrary File Upload vulnerability — MapSVG 9.1 Critical2026-07-23
CVE-2026-27064 WordPress Mailster plugin <= 4.1.17 - Arbitrary File Upload vulnerability — Mailster 9.1 Critical2026-07-23
CVE-2026-14282 GoDAM <= 1.12.2 - Unauthenticated Arbitrary File Upload via WPForms File Upload Field — GoDAM – Organize WordPress Media Library & File Manager with Unlimited Folders for Images, Videos & more 9.8 Critical2026-07-23
CVE-2026-63048 Joomla Extension - joomlack.fr - Improper access control in Page Builder CK < 3.6.2 — Page Builder CK extension for Joomla 9.4 Critical2026-07-22
CVE-2026-16451 zsadmin2025 ZS-Admin com.zs.file.controller.SysFileController upload unrestricted upload — ZS-Admin 6.3 Medium2026-07-21
CVE-2026-16447 D-Link DNS-320 multi_uploadify.php unrestricted upload — DNS-320 7.3 High2026-07-21
CVE-2026-16332 D-Link DNS-320 multi_uploadify.php unrestricted upload — DNS-320 7.3 High2026-07-21
CVE-2026-16331 D-Link DNS-320 save_ajax.php unrestricted upload — DNS-320 7.3 High2026-07-21
CVE-2026-16330 D-Link DNS-320 uploadify.php unrestricted upload — DNS-320 7.3 High2026-07-21
CVE-2026-16329 D-Link DNS-320 uploadify.php unrestricted upload — DNS-320 7.3 High2026-07-21
CVE-2026-16327 D-Link DNS-320 upload.php unrestricted upload — DNS-320 7.3 High2026-07-20
CVE-2026-16324 Metasoft 美特软件 MetaCRM upload.jsp unrestricted upload — MetaCRM 7.3 High2026-07-20
CVE-2026-53593 FreeScout Vulnerable to Authenticated Remote Code Execution via incomplete upload extension denylist (.pht) — bypass of CVE-2025-48471 — freescout 8.8 High2026-07-20
CVE-2026-61424 Joomla Extension - dj-extensions.com - Unauthenticated arbitrary file upload in DJ-Classifieds < 3.11.2 — DJ-Classifieds extension for Joomla 10.0 Critical2026-07-20
CVE-2026-61900 Joomla Extension - dj-extensions.com - Unauthenticated arbitrary file upload in DJ-jDownloads < 4.1.6 — jDownloads extension for Joomla 10.0 Critical2026-07-20
CVE-2026-60032 Joomla Extension - themexpert.com - Authenticated arbitrary file upload in JMedia < 1.6.0 — JMedia extension for Joomla 9.4 Critical2026-07-20
CVE-2026-57311 Unrestricted Upload of File with Dangerous Type in Windu CMS — Windu CMS 5.3 Medium2026-07-20
CVE-2026-16226 SourceCodester Pizzafy Ecommerce System admin_class_novo.php save_settings unrestricted upload — Pizzafy Ecommerce System 4.7 Medium2026-07-19
CVE-2026-48062 CodeIgniter: Uploaded file extension validation bypass in `ext_in` rule — CodeIgniter4 9.8 Critical2026-07-17
CVE-2026-13352 Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content <= 4.16.18 - Authenticated (Author+) Limited Unsafe File Upload via upload_mimes Filter Expansion — Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress 8.8 High2026-07-17
CVE-2026-50124 DataEase: Remote Code Execution (RCE) via Zip Protocol & File Dropper — dataease--2026-07-15
CVE-2026-61457 Grav before 1.0.3 Remote Code Execution via File Upload Extension Bypass — grav 8.8 High2026-07-15
CVE-2026-48356 Adobe Commerce | Unrestricted Upload of File with Dangerous Type (CWE-434) — Adobe Commerce 9.3 Critical2026-07-14
CVE-2026-15677 code-projects Online Job Portal JobSeekerInsert.php unrestricted upload — Online Job Portal 7.3 High2026-07-14
CVE-2026-58409 ChurchCRM: Authenticated Remote Code Execution (RCE) via Malicious Plugin Upload — CRM 9.1 Critical2026-07-13
CVE-2026-49972 Laravel-Mediable < 7.0.0 File Upload RCE via Extension Bypass — laravel-mediable 8.8 High2026-07-13

Vulnerabilities classified as CWE-434 (危险类型文件的不加限制上传) represent 2219 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.