{
 "id": "WPSEC-2026-4052",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4052/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4052/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4052/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4052.json",
 "title": "weForms – Easy Drag & Drop Contact Form Builder For WordPress <= 1.6.29 - Authenticated (Subscriber+) Insecure Direct Object Reference to Media Library Item Modification via REST File Upload",
 "description": "The weForms plugin for WordPress is vulnerable to Insecure Direct Object Reference via the weforms/v1/uploads/<form_id>/files REST endpoint in all versions up to, and including, 1.6.29, due to the upload handler passing the whole client request, including the 'id' and 'post' parameters, to the core media controller's create_item method after a permission check that only requires the 'read' capability, without checking that the user may edit the target attachment. This makes it possible for authenticated attackers, with subscriber-level access and above, to overwrite existing media library attachments: they can replace the file an attachment points to, change its title and parent post, and tag it as a weForms upload.",
 "plugin": {
  "slug": "weforms",
  "name": "weForms – Easy Drag & Drop Contact Form Builder For WordPress",
  "full_name": "weForms – Easy Drag & Drop Contact Form Builder For WordPress",
  "wordpress_org": "https://wordpress.org/plugins/weforms/",
  "advisories_url": "https://wpsec.com/vuln/plugin/weforms/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/weforms"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.4.1",
    "from_inclusive": true,
    "to": "1.6.30",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.4.1 before 1.6.30"
  ]
 },
 "introduced_in": "1.4.1",
 "fixed_in": "1.6.30",
 "remediation": "Update to 1.6.30 or later.",
 "fix_released": "2026-11-26T03:54:57+00:00",
 "published": "2026-11-27T04:43:19+00:00",
 "updated": "2026-11-26T12:17:52.047569+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4052/",
  "https://plugins.svn.wordpress.org/weforms/tags/1.6.30/",
  "https://wordpress.org/plugins/weforms/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/weforms",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "None seen",
  "as_of": "2026-11-27"
 }
}