Title: WordPress ACF field Validation
Last modified: May 30, 2024

---

# WordPress ACF field Validation

 *  Resolved [kajori](https://wordpress.org/support/users/kajori/)
 * (@kajori)
 * [2 years ago](https://wordpress.org/support/topic/wordpress-acf-field-validation/)
 * Hi Team,
 * This is regarding the ACF forms that is present in wordpress admin panel.
 * While creating a new field group there are two fields in the form namely field
   label and field name. These two field accepts scripts also and executes it. Which
   makes it vulnerable to XSS attacks.
 * Is there anything that we can do to prevent it. Can we implement any validation
   via hook or anything that can stop this?
    -  This topic was modified 2 years ago by [kajori](https://wordpress.org/support/users/kajori/).
    -  This topic was modified 2 years ago by [kajori](https://wordpress.org/support/users/kajori/).
    -  This topic was modified 2 years ago by [James Huff](https://wordpress.org/support/users/macmanx/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * (@acfsupport)
 * [2 years ago](https://wordpress.org/support/topic/wordpress-acf-field-validation/#post-17815852)
 * Hi there!
 * ACF Support Team here. This forum is generally used by ACF users to help each
   other out.
 * However, we would love to continue investigating and troubleshooting this issue,
   please can you create a ticket using our ​[support](https://www.advancedcustomfields.com/contact/)
   form and we can look into it further.

Viewing 1 replies (of 1 total)

The topic ‘WordPress ACF field Validation’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)

 * 1 reply
 * 2 participants
 * Last reply from: [ACF Support](https://wordpress.org/support/users/acfsupport/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/wordpress-acf-field-validation/#post-17815852)
 * Status: resolved