{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4221",
 "modified": "2026-11-29T07:42:16Z",
 "published": "2026-11-29T07:42:16Z",
 "summary": "Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Arbitrary File Copy via Caldera Forms File Field",
 "details": "The Database for Contact Form 7, WPforms, Elementor forms plugin for WordPress is vulnerable to Arbitrary File Copy in all versions up to, and including, 1.5.6 via the copy_files() function. When saving a Caldera Forms submission, the plugin passes the value of each File or Advanced File field to PHP's copy() without checking that it is a file Caldera Forms uploaded, and Caldera Forms keeps any submitted value that is a valid URL when no file is uploaded. This makes it possible for unauthenticated attackers to copy local files or remote URLs into the publicly accessible crm_perks_uploads directory, which can expose sensitive files such as wp-config.php or, on servers that do not apply that directory's .htaccess rules, lead to remote code execution. Exploitation requires Caldera Forms with a form that contains a file upload field.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "contact-form-entries"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.5.7"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.5.7"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4221/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/contact-form-entries/tags/1.5.7/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/contact-form-entries/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4221/",
  "cwe_ids": [
   "CWE-22"
  ],
  "vulnerability_type": "UPLOAD",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
