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

Goal: 1000 CNY · Raised: 1310 CNY

100%

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

2053 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-2025-11351 code-projects Online Hotel Reservation System editpicexec.php unrestricted upload — Online Hotel Reservation System 6.3 Medium2025-10-07
CVE-2025-11347 code-projects Student Crud Operation Add Student Page/Edit Student add.php move_uploaded_file unrestricted upload — Student Crud Operation 7.3 High2025-10-07
CVE-2025-61687 FlowiseAI/Flosise has File Upload vulnerability — Flowise 8.3 High2025-10-06
CVE-2025-11320 zhuimengshaonian wisdom-education UploadController.java uploadFile unrestricted upload — wisdom-education 6.3 Medium2025-10-06
CVE-2025-11318 Tipray 厦门天锐科技股份有限公司 Data Leakage Prevention System 天锐数据泄露防护系统 uploadWxFile.do unrestricted upload — Data Leakage Prevention System 天锐数据泄露防护系统 7.3 High2025-10-06
CVE-2025-9212 WP Dispatcher <= 1.2.0 - Authenticated (Subscriber+) Arbitrary File Upload — WP Dispatcher 7.5 High2025-10-03
CVE-2025-9561 AP Background 3.8.1 - 3.8.2 - Missing Authorization to Authenticated (Subscriber+) Arbitrary File Upload via advParallaxBackAdminSaveSlider Function — AP Background 8.8 High2025-10-03
CVE-2025-8120 Remote Code Execution via Unrestricted File Upload in PAD CMS — PAD CMS 9.8AICriticalAI2025-09-30
CVE-2025-7065 Remote Code Execution via Unrestricted File Upload in PAD CMS — PAD CMS 9.8AICriticalAI2025-09-30
CVE-2025-7063 Remote Code Execution via Unrestricted File Upload in PAD CMS — PAD CMS 9.8AICriticalAI2025-09-30
CVE-2025-10000 Qyrr – simply and modern QR-Code creation <= 2.0.7 - Authenticated (Contributor+) Arbitrary File Upload — Qyrr – simply and modern QR-Code creation 6.4 Medium2025-09-30
CVE-2025-35032 Medical Informatics Engineering Enterprise Health arbitrary file upload — Enterprise Health 3.4 Low2025-09-29
CVE-2025-11136 YiFang CMS Backend File.php webUploader unrestricted upload — CMS 4.7 Medium2025-09-29
CVE-2025-11103 Projectworlds Online Tours and Travels change-image.php unrestricted upload — Online Tours and Travels 4.7 Medium2025-09-28
CVE-2025-11078 itsourcecode Open Source Job Portal controller.php unrestricted upload — Open Source Job Portal 6.3 Medium2025-09-27
CVE-2025-10544 Unrestricted uploading of dangerous file types to AvePoint products — DocAve 6.5 -2025-09-26
CVE-2025-60219 WordPress WooCommerce Designer Pro Plugin <= 1.9.24 - Arbitrary File Upload Vulnerability — WooCommerce Designer Pro 10.0 Critical2025-09-26
CVE-2025-1862 Authenticated Arbitrary File Upload in Multiple WSO2 Products via BPEL Uploader SOAP Service Leading to Remote Code Execution — WSO2 Enterprise Integrator 6.7 Medium2025-09-26
CVE-2025-10747 WP-DownloadManager <= 1.68.11 - Authenticated (Admin+) Arbitrary File Upload — WP-DownloadManager 7.2 High2025-09-26
CVE-2025-9846 Unrestricted File Upload in TaletSys Inka.Net — Inka.Net 10.0 Critical2025-09-23
CVE-2025-10412 Product Options and Price Calculation Formulas for WooCommerce – Uni CPO (Premium) <= 4.9.55 - Unauthenticated Arbitrary File Upload via 'uni_cpo_upload_file' — Product Options and Price Calculation Formulas for WooCommerce – Uni CPO (Premium) 9.8 Critical2025-09-23
CVE-2025-10147 Podlove Podcast Publisher <= 4.2.6 - Unauthenticated Arbitrary File Upload — Podlove Podcast Publisher 9.8 Critical2025-09-23
CVE-2025-10009 Authenticated admin RCE in Invoice Ninja — Invoice Ninja 5 7.2AIHighAI2025-09-22
CVE-2025-10763 academico-sis academico Profile Picture edit-photo unrestricted upload — academico 6.3 Medium2025-09-21
CVE-2025-10755 Selleo Mentingo Content-Type unrestricted upload — Mentingo 6.3 Medium2025-09-20
CVE-2025-10741 Selleo Mentingo Profile Picture unrestricted upload — Mentingo 6.3 Medium2025-09-20
CVE-2025-34195 Vasion Print (formerly PrinterLogic) Unquoted Path During Driver Installation Leads to Execution of C:\Program.exe — Print Virtual Appliance Host 8.8 -2025-09-19
CVE-2025-10647 Embed PDF for WPForms <= 1.1.5 - Authenticated (Subscriber+) Arbitrary File Upload — Embed PDF for WPForms 8.8 High2025-09-19
CVE-2025-10669 Airsonic-Advanced Playlist Upload unrestricted upload — Airsonic-Advanced 6.3 Medium2025-09-18
CVE-2025-40678 Unrestricted upload vulnerability for dangerous file types on Summar Software´s Portal del Empleado — Portal del Empleado 9.8AICriticalAI2025-09-18

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