SecurityContext

CVE-2025-2328: Contact Form 7 - Path Traversal

  • Cve: CVE-2025-2328
  • Name: Contact Form 7 - Path Traversal
  • Description: The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'dnd_remove_uploaded_files' function in all versions up to, and including, 1.3.8.7. This makes it possible for unauthenticated attackers to add arbitrary file paths (such as ../../../../wp-config.php) to uploaded files on the server, which can easily lead to remote code execution when an Administrator deletes the message. Exploiting this vulnerability requires the Flamingo plugin to be installed and activated.
  • Impact: Attackers can delete arbitrary files on the server, potentially leading to remote code execution or site compromise.
  • Remediation: Update to the latest version of Contact Form 7 that addresses this vulnerability or disable the plugin until patched.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.01094
  • Epss percentile: 0.66342
  • Assignee: [email protected]
  • Published at: 2025-03-28T07:15:39Z
  • Age in days: 606
  • Modified at: 2026-06-17T09:06:45Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-2328
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 1
  • Rank: 5211

References

Same in every row:

  • Source: nvd
UrlTags
https://plugins.trac.wordpress.org/changeset/3261964/Patch
https://www.wordfence.com/threat-intel/vulnerabilities/id/0f6cca7a-b8ff-4ca5-b813-e611eac07695?source=cveThird Party Advisory
https://plugins.trac.wordpress.org/browser/drag-and-drop-multiple-file-upload-contact-form-7/trunk/inc/dnd-upload-cf7.php#L153Product

Products

ProductAffectedPlatform boundSourcesUrl
codedropz:drag_and_drop_multiple_file_upload_-_contact_form_7< 1.3.8.8nonvd/v1/products/codedropz/drag_and_drop_multiple_file_upload_-_contact_form_7

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts