Description
The Contact Manager plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 9.1.2 via the add_message function. This is due to an incomplete extension blacklist that fails to detect dangerous extensions when a trailing dot causes the extension-derivation routine to return an empty string, which sanitize_file_name() then silently removes before the file is written to disk. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Successful code execution additionally requires the server to use Apache with libapache2-mod-php (which maps .phar to PHP by default) and the attacker to retrieve the uploaded file within the brief window before it is removed by unlink() at end of request.
Published: 2026-10-28
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The Contact Manager plugin for WordPress has a flaw in its add_message function that allows an attacker to upload files with arbitrary content. The flaw stems from an incomplete extension blacklist that does not detect dangerous extensions when a trailing dot is used; the extension derivation routine returns an empty string and sanitize_file_name() silently removes it, enabling the file to be written to disk. If the uploaded file is executable, the attacker can leverage it to run arbitrary code. Attackers do not need authentication to trigger the upload.

Affected Systems

This issue affects the Contact Manager plugin, versions 9.1.2 and earlier, which is distributed by kleor. The plugin is used in WordPress installations worldwide.

Risk and Exploitability

The vulnerability has a CVSS score of 9.8, indicating a critical severity. While the EPSS score is not available, the exploitation of the flaw requires only a standard HTTP request and is trivial for unauthenticated users. The weakness is not yet listed in the CISA KEV catalog. Successful exploitation also requires the target web server to run Apache with libapache2-mod-php, which maps the .phar extension to PHP, and the attacker must retrieve the file before the script deletes it with unlink, which creates a short execution window.

Generated by OpenCVE AI on October 28, 2026 at 08:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Contact Manager plugin to version 9.1.3 or later, which fixes the extension blacklist logic.
  • If an upgrade is not possible immediately, disable or restrict the file upload functionality in the plugin’s settings or remove the add_message endpoint.
  • Implement a web application firewall or security plugin that blocks arbitrary file uploads and restricts executable file extensions.

Generated by OpenCVE AI on October 28, 2026 at 08:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Description The Contact Manager plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 9.1.2 via the add_message function. This is due to an incomplete extension blacklist that fails to detect dangerous extensions when a trailing dot causes the extension-derivation routine to return an empty string, which sanitize_file_name() then silently removes before the file is written to disk. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Successful code execution additionally requires the server to use Apache with libapache2-mod-php (which maps .phar to PHP by default) and the attacker to retrieve the uploaded file within the brief window before it is removed by unlink() at end of request.
Title Contact Manager <= 9.1.2 - Unauthenticated Arbitrary File Upload via Trailing-Dot Filename Blacklist Bypass
Weaknesses CWE-434
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-10-28T06:45:19.576Z

Reserved: 2026-10-12T13:43:55.568Z

Link: CVE-2026-109218

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-28T07:16:44.120

Modified: 2026-10-28T13:46:33.207

Link: CVE-2026-109218

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T08:30:16Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type