Summary
CVE-2026-18946 is an information exposure vulnerability (CWE-200) in the Contact Form to Any API WordPress plugin. The plugin does not use random filenames when copying files uploaded through contact forms into a publicly accessible directory, allowing unauthenticated attackers to enumerate and download files submitted by other users. It affects all versions before 3.0.7 and is rated High severity (CVSS 7.5).
Technical details
- Root cause: Files uploaded via contact forms are copied into a publicly accessible directory using predictable, non-random filenames.
- Trigger conditions: No authentication required; an attacker can request the predictably named files directly over the network.
- Attack vector: Network (remote, unauthenticated). Attackers enumerate the predictable filenames to retrieve stored uploads.
- Impact: Unauthorized disclosure of files submitted by other users through contact forms, compromising the confidentiality of potentially sensitive user data. No integrity or availability impact.
Affected software
- Contact Form to Any API WordPress plugin: all versions before 3.0.7.
Severity
- CVSS v3.1 base score: 7.5 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Update the Contact Form to Any API plugin to version 3.0.7 or later, which replaces the predictable upload filename with a randomly generated token.
- If no patch can be applied: Restrict public access to the plugin’s uploads directory at the web server level, and consider disabling file uploads through affected contact forms until the update is applied.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw response body:
/wp-content/plugins/contact-form-to-any-api/

