CVE-2025-10041
Published: 15 October 2025
Summary
CVE-2025-10041 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Wordpress (inferred from references). Its CVSS base score is 9.8 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 45.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-10041 is an arbitrary file upload vulnerability in the Flex QR Code Generator plugin for WordPress, affecting all versions up to and including 1.2.5. The flaw arises from missing file type validation in the save_qr_code_to_db() function, enabling attackers to place arbitrary files on the affected site's server. Classified under CWE-434 (Unrestricted Upload of File with Dangerous Type), it carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), marking it as critical.
Unauthenticated attackers can exploit this vulnerability remotely with low complexity and no privileges or user interaction required. By uploading malicious files, they gain the ability to potentially achieve remote code execution on the server, compromising confidentiality, integrity, and availability to a high degree.
Advisories and related resources, including Wordfence's threat intelligence report, the plugin's WordPress.org page, and Trac repository entries showing the vulnerable code at line 208 in version 1.2.5 and a corresponding changeset, provide details on the issue. Security practitioners should consult these for patch information and update guidance.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-34561
Vulnerability details
The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in thesave_qr_code_to_db() function in all versions up to, and including, 1.2.5. This makes it possible for unauthenticated attackers to upload…
more
arbitrary files on the affected site's server which may make remote code execution possible.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Arbitrary file upload in public-facing WordPress plugin directly enables T1190 (Exploit Public-Facing Application) and facilitates T1100 (Web Shell) via uploading executable files like PHP webshells for RCE.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Requires identification, reporting, and correction of the specific flaw in the plugin's save_qr_code_to_db() function to eliminate the arbitrary file upload vulnerability.
Mandates information input validation mechanisms, directly addressing the missing file type validation that enables arbitrary file uploads.
Provides defense-in-depth by implementing malicious code protection at system entry points to detect and block execution of uploaded dangerous files.