Vulnerability Description
The Add Custom Fields to Media plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.3. This is due to missing nonce validation on the field deletion functionality in the admin display template. The plugin properly validates a nonce for the 'add field' operation (line 24-36), but the 'delete field' operation (lines 38-49) processes the $_GET['delete'] parameter and calls update_option() without any nonce verification. This makes it possible for unauthenticated attackers to delete arbitrary custom media fields via a forged request, granted they can trick a site administrator into performing an action such as clicking on a link.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/add-custom-fields-to-media/tags/2.0.3
- https://plugins.trac.wordpress.org/browser/add-custom-fields-to-media/tags/2.0.3
- https://plugins.trac.wordpress.org/browser/add-custom-fields-to-media/trunk/admi
- https://plugins.trac.wordpress.org/browser/add-custom-fields-to-media/trunk/admi
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old
- https://www.wordfence.com/threat-intel/vulnerabilities/id/259a4950-9377-4d18-86a
FAQ
What is CVE-2026-4068?
CVE-2026-4068 is a vulnerability with a CVSS score of 4.3 (MEDIUM). The Add Custom Fields to Media plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 2.0.3. This is due to missing nonce validation on the field deleti...
How severe is CVE-2026-4068?
CVE-2026-4068 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-4068?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.