# CVE-2023-6449: Contact Form 7 \<= 5.8.3 - Authenticated (Editor+) Arbitrary File Upload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.6
- **CVSS:** 6.6 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.31% (percentile 84, 2026-11-26)
- **CWE:** CWE-434
- **Published:** 2023-12-01T11:00:06.019Z
- **Modified:** 2026-06-17T06:50:46.813Z

## Who should check

- Anyone running rocklobsterinc Contact Form 7 \<= 5.8.3

## Description

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.

## Affected and fixed versions

- rocklobsterinc Contact Form 7: \<= 5.8.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-6449. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-6449.md
Affected: rocklobsterinc Contact Form 7 <= 5.8.3
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for rocklobsterinc Contact Form 7: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-6449 being exploited?

There is no confirmed exploitation: CVE-2023-6449 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-6449?

Medium: CVSS 6.6 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-6449?

rocklobsterinc Contact Form 7 \<= 5.8.3.

### Is there a fix for CVE-2023-6449?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-6449?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/rocklobster-in/contact-form-7/compare/v5.8.3...v5.8.4>
- patch: <https://plugins.trac.wordpress.org/changeset/3003556/contact-form-7>
- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/5d7fb020-6acb-445e-a46b-bdb5aaf8f2b6?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/contact-form-7/tags/5.8.3/includes/formatting.php#L275>
- other: <https://contactform7.com/2023/11/30/contact-form-7-584/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-6449>

HTML: <https://flawdb.com/CVE-2023-6449> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-6449>
