Skip to main content

Wordpress Plugin CVE-2025-10041

CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-10-15 security@wordfence.com
9.8
CVSS 3.1 · Vendor: wordfence
View

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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 9.8 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 68% exploitable
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy