CVE-2023-6449Rocklobster Contact Form 7
High 7.2
Follow: this CVE · Rocklobster · Rocklobster Contact Form 7 We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Dec 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
The Contact Form 7 plugin for WordPress is vulnerable to arbitrary file uploads due to insufficient file type validation in the 'validate' function and insufficient blocklisting on the 'wpcf7_antiscript_file_name' function in versions up to, and including, 5.8.3. This makes it possible for authenticated attackers with editor-level capabilities or above to upload arbitrary files on the affected site's server, but due to the htaccess configuration, remote code cannot be executed in most cases. By default, the file will be deleted from the server immediately. However, in some cases, other plugins may make it possible for the file to live on the server longer. This can make remote code execution possible when combined with another vulnerability, such as local file inclusion.
What to do
- Apply the vendor's security update for Contact Form 7.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rocklobster | contact_form_7 | < 5.8.4 |
Official sources
References
Links published by the sources. Open them with care.
- contactform7.com Release Notes
- github.com Patch
- plugins.trac.wordpress.org Product
- plugins.trac.wordpress.org Patch
- www.wordfence.com Third Party Advisory