### [CVE-2021-24909](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24909) ![](https://img.shields.io/static/v1?label=Product&message=ACF%20Photo%20Gallery%20Field&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=1.7.5%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brightgreen) ### Description The ACF Photo Gallery Field WordPress plugin before 1.7.5 does not sanitise and escape the post parameter in the includes/acf_photo_gallery_metabox_edit.php file before outputing back in an attribute, leading to a Reflected Cross-Site Scripting issue ### POC #### Reference - https://wpscan.com/vulnerability/5855f1fe-28f6-4cd6-a83c-95c23d809b79 #### Github - https://github.com/20142995/nuclei-templates