CVE-2026-109218 kleor · Contact Manager
AI summary
The Contact Manager WordPress plugin up to and including 9.1.2 has an incomplete extension blacklist in add_message, letting unauthenticated remote attackers upload potentially executable files. Code execution additionally requires Apache with libapache2-mod-php and retrieving the file before it is deleted at the end of the request. Critical (CVSS 9.8); update or disable the plugin promptly.
Official 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 07:16 UTC
- Modified
- 2026-10-29 02:16 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.20% (percentile 68)
- ENISA EUVD
- EUVD-2026-111608
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-434
- Category
- Web CMS
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- fr.wordpress.org
https://fr.wordpress.org/plugins/contact-manager/ - plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/contact-manager/tags/9.1.2/contact-manager.php#L42 - plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/contact-manager/tags/9.1.2/includes/add-message.php#L254 - plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/contact-manager/tags/9.1.2/includes/add-message.php#L256 - plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/contact-manager/tags/9.1.2/includes/forms/processing.php#L102 - plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset?reponame=&new=3767815%40contact-manager%2Ftags%2F9.1.3&old=3661172%40contact-manager%2Ftags%2F9.1.2 - www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/b359ef59-4c2e-4d4e-b000-1845525131de?source=cve