Home

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.

PUBLISHED Reserved 2026-03-12 | Published 2026-03-19 | Updated 2026-04-08 | Assigner Wordfence




MEDIUM: 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Problem types

CWE-352 Cross-Site Request Forgery (CSRF)

Product status

Default status
unaffected

Any version
affected

Timeline

2026-03-12:Vendor Notified
2026-03-18:Disclosed

Credits

Nabil Irawan finder

References

www.wordfence.com/...-9377-4d18-86ad-aadd97dcdbc7?source=cve

plugins.trac.wordpress.org/...lds-to-media-admin-display.php

plugins.trac.wordpress.org/...lds-to-media-admin-display.php

plugins.trac.wordpress.org/...lds-to-media-admin-display.php

plugins.trac.wordpress.org/...lds-to-media-admin-display.php

plugins.trac.wordpress.org/...to-media&sfp_email=&sfph_mail=

cve.org (CVE-2026-4068)

nvd.nist.gov (CVE-2026-4068)

Download JSON