CVE-2025-12673
Published: 06 December 2025
Description
The Flex QR Code Generator plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the update_qr_code() function in all versions up to, and including, 1.2.7. This makes it possible for unauthenticated attackers to…
more
upload arbitrary files on the affected site's server which may make remote code execution possible.
Mitigating Controls (NIST 800-53 r5)AI
Requires timely patching of the vulnerable Flex QR Code Generator plugin up to version 1.2.7, directly eliminating the arbitrary file upload flaw in update_qr_code().
Enforces validation of file types and contents for uploads, directly countering the missing file type validation that enables arbitrary file uploads.
Scans and blocks malicious code in uploaded files at entry points, mitigating remote code execution from arbitrary uploads even if validation fails.
Security SummaryAI
CVE-2025-12673 is an arbitrary file upload vulnerability in the Flex QR Code Generator plugin for WordPress, affecting all versions up to and including 1.2.7. The flaw arises from missing file type validation in the update_qr_code() function, classified under CWE-434. 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), indicating critical severity due to its potential for high-impact confidentiality, integrity, and availability effects.
Unauthenticated attackers can exploit this vulnerability remotely with low complexity and no user interaction or privileges required. By leveraging the deficient validation, they can upload arbitrary files to the affected site's server, which may enable remote code execution depending on server configuration and file types processed.
Advisories and patch information are detailed in references such as the Wordfence threat intelligence page, WordPress plugin trac changeset 3412218, and researcher analyses on GitHub (d0n601/CVE-2025-12673) and ryankozak.com. Mitigation centers on updating the plugin beyond version 1.2.7 to address the validation gap.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Arbitrary file upload vulnerability in a public-facing WordPress plugin directly enables exploitation of public-facing applications (T1190) for remote code execution via unauthenticated file upload.