Description
The Ultra Addons for Contact Form 7 WordPress plugin before 3.5.51 does not validate the type or extension of files uploaded through one of its form fields, and stores them at a predictable public path with the attacker-chosen extension intact, allowing unauthenticated users to upload arbitrary files. The PHP handler shipped by default with the Debian and Ubuntu Apache packages maps .phar to PHP alongside .php and .phtml, so on that stack the uploaded file is executed and the issue leads to Remote Code Execution and full site takeover. Where the host routes only .php to the PHP handler, the same file is instead served from the site's own origin with its script intact, leading to Stored Cross-Site Scripting.
Published: 2026-09-19
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The Ultra Addons for Contact Form 7 plugin before version 3.5.51 fails to validate the type or extension of files uploaded through a form field, storing them at a predictable public path with the attacker‑chosen extension intact. When the PHP handler maps a malicious file (e.g., .phar) to the PHP interpreter, the file executes and an unauthenticated user obtains full remote code execution. If the web server only routes .php to the PHP interpreter, the same file is returned to the client unchanged, resulting in stored cross‑site scripting.

Affected Systems

All installations of Ultra Addons for Contact Form 7 versions prior to 3.5.51 are vulnerable. The flaw exists in the file upload field that accepts arbitrary files and stores them in a publicly accessible location.

Risk and Exploitability

The vulnerability is easily exploitable by any unauthenticated user who can access the implicated form. No authentication or privileged access is required. The likelihood of exploitation is high on hosting stacks that expose extensions such as .phar to the PHP interpreter, such as Debian and Ubuntu Apache deployments, where the mod_php or FPM mapping will execute the uploaded file and lead to a complete site takeover. On hosts that only map .php files to the PHP interpreter, the uploaded file is returned to the client unchanged, resulting in stored cross‑site scripting but not server‑side execution. EPSS data is not available, and the CVE is not listed in the CISA Known Exploited Vulnerabilities catalog, but the vulnerability is considered high severity due to potential remote code execution and site compromise.

Generated by OpenCVE AI on September 19, 2026 at 10:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ultra Addons for Contact Form 7 to version 3.5.51 or later, which implements proper file‑type validation and removes the predictable upload path.
  • If a patch cannot be applied immediately, restrict the upload directory to deny execution permissions or configure the web server to treat any uploaded file as static content; remove PHP handling for non‑standard extensions such as .phar.
  • Configure file‑type validation in the plugin or via WordPress functions to allow only safe image formats (e.g., .jpg, .png) and reject all others.
  • Implement a web application firewall rule that blocks uploads containing suspicious extensions or content patterns indicative of executable code.
  • Ensure the hosting environment follows the principle of least privilege by disabling PHP interpreters for file types that are not required for normal site operation and by monitoring upload activity for anomalous behavior.

Generated by OpenCVE AI on September 19, 2026 at 10:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 19 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}


Sat, 19 Sep 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-434

Sat, 19 Sep 2026 06:30:00 +0000

Type Values Removed Values Added
Description The Ultra Addons for Contact Form 7 WordPress plugin before 3.5.51 does not validate the type or extension of files uploaded through one of its form fields, and stores them at a predictable public path with the attacker-chosen extension intact, allowing unauthenticated users to upload arbitrary files. The PHP handler shipped by default with the Debian and Ubuntu Apache packages maps .phar to PHP alongside .php and .phtml, so on that stack the uploaded file is executed and the issue leads to Remote Code Execution and full site takeover. Where the host routes only .php to the PHP handler, the same file is instead served from the site's own origin with its script intact, leading to Stored Cross-Site Scripting.
Title Ultimate Addons for Contact Form 7 3.2.4 - 3.5.50 - Unauthenticated Arbitrary File Upload via Signature Field
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-19T13:09:13.062Z

Reserved: 2026-09-02T09:27:10.811Z

Link: CVE-2026-84750

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-19T07:16:32.753

Modified: 2026-09-19T13:16:51.780

Link: CVE-2026-84750

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-19T11:00:08Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type