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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2503 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, Availability Execute 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 Design Generate 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 Design When 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 Design Consider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically. [REF-423]
Implementation Assume 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 Design Define 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 ID Title CVSS Severity Published
CVE-2026-61583 Chamilo LMS: Authenticated RCE through .htaccess in dropbox — chamilo-lms 8.7 High 2026-11-18
CVE-2018-25443 Baidu UEditor 1.4.0-1.4.3.3 Unrestricted File Upload via controller.ashx — UEditor 9.8 Critical 2026-11-18
CVE-2021-48023 Weaver E-cology 9.0 Unrestricted File Upload via uploadOperation.jsp — E-cology 9.8 Critical 2026-11-18
CVE-2023-54422 iDocView < 13.10.1_20231115 Unrestricted File Upload RCE via /html/2word — iDocView 9.8 Critical 2026-11-18
CVE-2026-129961 Remote Code Execution in LMS — LMS 9.5 Critical 2026-11-18
CVE-2026-127142 Remote Code Execution in LMS — LMS 8.7 High 2026-11-18
CVE-2026-82025 WP File Manager < 8.0.7 Arbitrary File Upload RCE via elFinder — WP File Manager 7.2 High 2026-11-17
CVE-2026-125163 TYPO3 CMS - Unrestricted File Upload in Form Framework — TYPO3 CMS 6.3 Medium 2026-11-17
CVE-2026-107904 Joomla Extension - valorapps.com - Unauthenticated Remote Code Execution in Easy File Uploader < 2.9.7 — Easy File Uploader extension for Joomla - - 2026-11-17
CVE-2026-130375 AdminNeo before 5.9.1 RCE via SQLite file: URI database name — AdminNeo 7.2 High 2026-11-17
CVE-2026-129548 Kalmia through 0.2.0 Stored XSS via Unrestricted File Upload — Kalmia 5.4 Medium 2026-11-16
CVE-2026-129549 Tensei through 0.11.5 Unauthenticated File Upload via @tensei/media files/upload — @tensei/media 6.1 Medium 2026-11-16
CVE-2026-129262 Wuxi Wubang Security Software Wubang Five-in-One Safety Production Management Information System ws.asmx DiyFileUpload unrestricted upload — Wubang Five-in-One Safety Production Management Information System 7.3 High 2026-11-14
CVE-2026-82504 VITEC EZ TV Platform Server Unauthenticated File Upload via UploadHandler.ashx — EZ TV Platform Server 9.8 Critical 2026-11-13
CVE-2026-125851 WordPress Hotel Booking Lite theme <= 2.5.1 - Arbitrary File Upload vulnerability — Hotel Booking Lite 9.9 Critical 2026-11-13
CVE-2026-126372 Vvveb through 1.0.8.6 Template Upload Bypass via MediaTrait editor/code — Vvveb 8.8 High 2026-11-13
CVE-2026-126378 Vvveb through 1.0.8.6 Webshell Upload via Theme Installer validFile() Bypass — Vvveb 9.1 Critical 2026-11-13
CVE-2026-126380 Vvveb before 1.0.9.0 RCE via .phar Extension Denylist Bypass in Media Upload — Vvveb 9.1 Critical 2026-11-13
CVE-2026-126428 OpenEMR before 8.5.0 RCE via Stored ERA Upload and Background Services — openemr 7.5 High 2026-11-13
CVE-2026-125055 Chatterbug Forms <= 1.0.2 - Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission — Chatterbug Forms – Fast, Flexible WordPress Form Builder 9.8 Critical 2026-11-13
CVE-2026-59079 Unrestricted File Upload in Edito CMS — Edito CMS 7.1 High 2026-11-13
CVE-2026-127283 SourceCodester Food Ordering System Admin Image update_food.php unrestricted upload — Food Ordering System 7.3 High 2026-11-13
CVE-2026-117551 Joomla Extension - jdownloads.com - RCE through file upload in jDownloads < 4.1.8 — jDownloads extension for Joomla 10.0 Critical 2026-11-12
CVE-2026-8331 TimePictra ermote code execution via file upload — TimePictra 8.8 High 2026-11-12
CVE-2026-126932 Zipline 4.6.2 before 4.8.0 Disabled MIME Type Policy Bypass via File Metadata Update — zipline 4.3 Medium 2026-11-11
CVE-2026-126233 Fortinet 多款产品 7.2-8.0 任意文件上传漏洞 — FortiManager 7.2 High 2026-11-11
CVE-2026-111190 ARForms <= 7.2.4 - Unauthenticated Arbitrary File Upload to Remote Code Execution via X-FILENAME Header — ARforms 8.1 High 2026-11-11
CVE-2026-107356 U.S. Geological Survey Area Species Management Research Program unrestricted file upload — Area Species Management Research Program 8.8 High 2026-11-10
CVE-2026-60045 Arbitrary file upload — mbCONNECT24 4.9 Medium 2026-11-10
CVE-2026-124635 kevquirk PureBlog Admin Image Upload Endpoint upload-image.php unrestricted upload — PureBlog 4.7 Medium 2026-11-09

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