.. / CVE-2023-30777

Exploit for Advanced Custom Fields < 6.1.6 - Cross-Site Scripting (CVE-2023-30777)

Description:

Advanced Custom Fields beofre 6.1.6 is susceptible to cross-site scripting via the post_status parameter due to insufficient input sanitization and output escaping. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Nuclei Template

View the template here CVE-2023-30777.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2023/CVE-2023-30777.yaml
Copy

References:

https://wpscan.com/vulnerability/95ded80f-a47b-411e-bd17-050439bf565f
https://wordpress.org/plugins/advanced-custom-fields/advanced/
https://patchstack.com/database/vulnerability/advanced-custom-fields-pro/wordpress-advanced-custom-fields-pro-plugin-6-1-5-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve
https://nvd.nist.gov/vuln/detail/CVE-2023-30777
https://patchstack.com/database/vulnerability/advanced-custom-fields/wordpress-advanced-custom-fields-plugin-6-1-5-reflected-cross-site-scripting-xss-vulnerability?_s_id=cve