CSRF in Pattihis Add Custom Fields To Media

CVE-2026-4068

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.

Vulnerability class: CSRF (Cross-Site Request Forgery)

EPSS: 0.001 (3.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-4068?
CVE-2026-4068 is a medium-severity vulnerability in Pattihis Add Custom Fields To Media, classified under Cross-Site Request Forgery (CSRF). CVSS score: 4.3/10. Published 2026-03-19.
How severe is CVE-2026-4068?
Medium severity. CVSS v3 base score is 4.3 out of 10.