{
 "id": "WPSEC-2026-4221",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4221/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4221/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4221/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4221.json",
 "title": "Database for Contact Form 7, WPforms, Elementor forms <= 1.5.6 - Unauthenticated Arbitrary File Copy via Caldera Forms File Field",
 "description": "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.",
 "plugin": {
  "slug": "contact-form-entries",
  "name": "Database for Contact Form 7, WPforms, Elementor forms",
  "full_name": "Database for Contact Form 7, WPforms, Elementor forms",
  "wordpress_org": "https://wordpress.org/plugins/contact-form-entries/",
  "advisories_url": "https://wpsec.com/vuln/plugin/contact-form-entries/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/contact-form-entries"
 },
 "type": "UPLOAD",
 "cwe": [
  "CWE-22"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.5.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.5.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.5.7",
 "remediation": "Update to 1.5.7 or later.",
 "fix_released": "2026-11-28T06:55:44+00:00",
 "published": "2026-11-29T07:42:16+00:00",
 "updated": "2026-11-28T10:54:03.652848+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4221/",
  "https://plugins.svn.wordpress.org/contact-form-entries/tags/1.5.7/",
  "https://wordpress.org/plugins/contact-form-entries/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/contact-form-entries",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-29"
 }
}