Wordpress Plugin
CVE-2025-10041
CRITICAL
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v3.1 score of 9.8 reflects maximum severity across multiple dimensions: network-based attack vector (AV:N), low complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high impact on confidentiality, integrity, and availability. This scoring accurately represents the real-world risk - unauthenticated attackers can weaponize this vulnerability remotely without social engineering or credential compromise. While no public exploit code has been identified and the vulnerability is not confirmed as actively exploited (no CISA KEV listing), the technical simplicity of exploiting unrestricted file upload vulnerabilities means proof-of-concept development requires minimal sophistication. Wordfence documented the flaw and provided code-level references, increasing attacker awareness. WordPress plugin vulnerabilities historically see rapid exploitation once disclosed, particularly those affecting popular installations. The absence of authentication requirements eliminates reconnaissance barriers, and automated scanning tools can easily identify vulnerable endpoints. From an SSVC decision framework perspective: exploitation status is proof-of-concept (PoC code references available in advisories), technical impact is total system compromise (RCE), and automation is straightforward given the lack of auth gates. Organizations running this plugin face immediate risk and should prioritize patching over less critical vulnerabilities with authentication requirements or local attack vectors. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a WordPress site running Flex QR Code Generator 1.2.5 through version fingerprinting or automated vulnerability scanning. The attacker crafts a malicious HTTP POST request to the plugin's save_qr_code_to_db() function endpoint, submitting a PHP web shell disguised with a benign filename but containing executable code. Due to absent file type validation, the server accepts and stores the file in a web-accessible directory within the WordPress installation. The attacker then navigates directly to the uploaded shell's URL via their browser, executing arbitrary commands on the web server with the privileges of the PHP process. From this foothold, the attacker can exfiltrate database credentials from wp-config.php, install persistent backdoors, pivot to other systems on the network, or deface the site. The entire attack chain requires no authentication, no social engineering, and can be fully automated for mass exploitation across vulnerable WordPress installations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Arbitrary file upload in Flex QR Code Generator plugin (WordPress) versions ≤1.2.5 allows unanauthenticated remote attackers to upload malicious files without restriction, enabling remote code execution on vulnerable web servers. The flaw stems from absent file type validation in the save_qr_code_to_db() function, accessible over the network with no authentication barrier. With CVSS 9.8 (critical) and EPSS data unavailable, this represents a severe exposure for WordPress sites running the affected plugin. No public exploit identified at time of analysis, and not listed in CISA KEV, but the trivial attack complexity (AC:L, PR:N) makes this a high-priority remediation target.
RemediationAI
WordPress site administrators should immediately update the Flex QR Code Generator plugin to version 1.2.6 or later, which addresses the file upload validation weakness. The vendor-released patch is available through the WordPress plugin repository and can be applied via the automatic update mechanism in the WordPress admin dashboard (Plugins > Installed Plugins > Update Available). For sites with automatic updates enabled, verify that the update has been successfully applied by checking the installed version number. As an interim mitigation if patching is delayed, administrators can deactivate and remove the plugin entirely until the update is deployed. Review web server logs for suspicious file upload activity targeting the plugin's endpoint, particularly POST requests to paths containing save_qr_code_to_db or QR code generation functions. Inspect the WordPress uploads directory and plugin-specific directories for unexpected PHP files, shell scripts, or executable content uploaded between the vulnerability disclosure date and patch application. Detailed technical information and the corrected code are available in WordPress changeset 3379026 at plugins.trac.wordpress.org. Wordfence users can reference threat intelligence ID 40000879-a5ef-48f2-97e4-77d527259af0 for additional detection signatures and indicators of compromise.
Affected ProductsAI
The vulnerability affects the Flex QR Code Generator plugin for WordPress, specifically all versions up to and including 1.2.5. The plugin is distributed through the official WordPress plugin repository at wordpress.org/plugins/flex-qr-code-generator. Based on the Wordfence vulnerability reference (ID 40000879-a5ef-48f2-97e4-77d527259af0) and code-level references pointing to the 1.2.5 tag in the WordPress plugin Trac repository, sites running version 1.2.5 or earlier contain the exploitable save_qr_code_to_db() function without file type validation. The vendor advisory and changeset are documented at plugins.trac.wordpress.org under changeset 3379026. WordPress administrators can verify installed versions through the Plugins dashboard in wp-admin or by checking the plugin's main PHP file header.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability manifests in the save_qr_code_to_db() function within the Flex QR Code Generator WordPress plugin, which fails to validate file types during upload operations. The affected code resides at line 208 of qr-code-generator.php (version 1.2.5). The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type), a classic web application security weakness where user-supplied files are accepted without verifying extensions, MIME types, or content signatures. WordPress plugins frequently implement custom file handling outside the platform's core media upload functions, which include built-in security checks. When developers bypass these safeguards without implementing equivalent validation, attackers can upload PHP web shells, executable scripts, or other malicious payloads disguised as legitimate file types. Once uploaded to a web-accessible directory, these files can be directly invoked via HTTP requests, executing arbitrary code in the context of the web server process. The plugin's QR code generation functionality likely accepts user input for customization, and this input path became an attack vector due to insufficient server-side sanitization.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (wordfence) · only source for this CVE.
CVSS VectorVendor: wordfence
DescriptionCVE.org
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 arbitrary files on the affected site's server which may make remote code execution possible.
Executive ViewAI
The Flex QR Code Generator WordPress plugin versions 1.2.5 and earlier contain a critical remote code execution vulnerability allowing unauthenticated attackers to upload arbitrary files without validation. Any WordPress site using this plugin is at immediate risk of full server compromise, requiring urgent removal or disabling of the affected plugin.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately disable the plugin via WordPress admin or rename plugin directory; (2) Apply strict web application firewall rules blocking POST requests to */wp-admin/admin-ajax.php* with file upload payloads; (3) Implement file integrity monitoring on /wp-content/uploads/ to detect unauthorized uploads; (4) Restrict file upload permissions to specific directories and disable execution of uploaded files via web server configuration (.htaccess or nginx rules); (5) Monitor server logs for suspicious file upload activity and unusual code execution patterns. Plugin removal is strongly preferred over these interim measures.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB