Atomic Edge analysis of CVE-2026-12872 (metadata-based): The Webinfos plugin for WordPress, versions up to and including 1.2, contains an unauthenticated arbitrary file upload vulnerability. This flaw allows any remote attacker to upload files of any type to the affected server, potentially leading to remote code execution. The CVSS score of 9.8 reflects critical severity with high impact on confidentiality, integrity, and availability.
The root cause is missing file type validation on an upload handler, as per CWE-434 (Unrestricted Upload of File with Dangerous Type). The plugin fails to verify the extension or MIME type of uploaded files, allowing dangerous types such as PHP scripts. Atomic Edge infers that this handler is accessible without authentication and likely lacks nonce or capability checks. The exact endpoint, parameter names, and file processing logic are not confirmed from code, as no diff is available.
Exploitation likely involves sending a crafted HTTP request to a plugin-specific upload endpoint. Common patterns include an AJAX action (e.g., action=webinfos_upload) at /wp-admin/admin-ajax.php, or a direct POST to a plugin PHP file (e.g., /wp-content/plugins/webinfos/upload.php). Attackers would submit a file with a dangerous extension like .php, .phtml, or .phar along with any required parameters. Successful uploads could lead to RCE if the file is stored in a web-accessible directory and executed.
Remediation requires implementing strict file type validation on all uploads. This includes checking file extensions against an allowlist, validating MIME types, and ideally using WordPress’s wp_check_filetype_and_ext function. The handler must also enforce authentication and capability checks, and use nonces to prevent CSRF. Without a patched version, users should remove or disable the plugin.
Impact of exploitation is severe: an attacker can upload and execute arbitrary code, leading to full site compromise. This enables data theft, privilege escalation, defacement, and use of the server for further attacks. Unauthenticated access makes it exploitable by automated scanners and botnets.







