Contact Form 7 <= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| rocklobsterinc | Contact Form 7 | up to 5.8.3 | — | No fix listed | CNA |
- Contact Form 7 Vendorrocklobsterinc Affected up to 5.8.3 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* | before 5.8.4 | Vulnerable | rocklobsterinc |
- cpe:2.3:a:rocklobster:contact_form_7:*:*:*:*:*:wordpress:*:* Versions before 5.8.4 Vulnerable ·rocklobsterinc
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-6449
- 2026-10-03 Alias added: GHSA-hpmw-w222-jm7v
References
Patch 2
More rocklobsterinc Contact Form 7 vulnerabilities
- TI-2020-18011 The contact-form-7 (aka Contact Form 7) plugin before 5.3.2 for WordPress allows… CVSS 3.1CRITICAL 10.0
- TI-2024-04377 Contact Form 7 < 5.9.5 - Unauthenticated Open Redirect CVSS 3.1MEDIUM 6.1
- TI-2018-14941 The contact-form-7 plugin before 5.0.4 for WordPress has privilege escalation because of… CVSS 3.0CRITICAL 9.8
- TI-2021-06451 Contact Form 7 Style <= 3.1.9 - Cross-Site Request Forgery to Stored Cross-Site Scripting CVSS 3.1HIGH 8.8
- TI-2025-02844 Contact Form 7 <= 6.0.5 - Order Replay Vulnerability CVSS 3.1MEDIUM 5.3
- TI-2024-02081 Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting CVSS 3.1MEDIUM 6.1
Sources
- CVE-2023-6449 · CVE Program
- CVE-2023-6449 · NVD
- FIRST EPSS
- GHSA-hpmw-w222-jm7v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences