Advanced Custom Fields 6.1 - 6.1.7 - Authenticated (Administrator+) Stored Cross-Site Scripting

4.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2023-40068
CVSS 4.4 (Medium)
Publicly Published August 3, 2023
Last Updated January 22, 2024
Researchers Satoo Nakano
Ryotaro Imamura

Description

The Advanced Custom Fields plugin for WordPress is vulnerable to Stored Cross-Site Scripting via ACF post type and taxonomy labels in versions 6.1 to 6.1.7 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Advanced Custom Fields (ACF®)

Software Type Plugin
Software Slug advanced-custom-fields (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.1.8, or a newer patched version
Affected Version
  • 6.1 - 6.1.7
Patched Version
  • 6.1.8

Recent vulnerabilities in Advanced Custom Fields (ACF®)

# Title CVE ID CVSS Researchers Date
1 Advanced Custom Fields (ACF®) <= 6.8.1 - Unauthenticated Arbitrary Post Modification via Front-End Form '_post_title' and '_post_content' Parameters CVE-2026-8382 5.3 Sarawut Poolkhet (MisterHelloz) May 30, 2026
2 Advanced Custom Fields (ACF®) <= 6.8.1 - Missing Authorization 5.3 Sarawut Poolkhet (MisterHelloz) May 27, 2026
3 Advanced Custom Fields (ACF®) <= 6.7.0 - Unauthenticated Missing Authorization to Arbitrary Post/Page Disclosure via AJAX Field Query Parameters CVE-2026-4812 5.3 Fernando Mecozzi April 14, 2026
4 Advanced Custom Fields <= 6.4.2. - HTML Injection CVE-2025-54940 4.1 Shogo Kumamaru August 8, 2025
5 Advanced Custom Fields <= 6.3.8 & Secure Custom Fields <= 6.3.6.2 - Authenticated (Admin+) Stored Cross-Site Scripting CVE-2024-49593 4.4 Duc Luong Tran October 15, 2024
6 Advanced Custom Fields <= 6.3.8 - Authenticated (Admin+) Limited Arbitrary Function Call CVE-2024-9529 5.1 Automattic October 7, 2024
7 Advanced Custom Fields <= 6.3.5 - Authenticated Stored Cross-Site Scripting CVE-2024-45429 5.5 Ryo Sotoyama September 4, 2024
8 Advanced Custom Fields <= 6.2.10 - Authenticated (Contributor+) Arbitrary Custom Field Access CVE-2024-4565 4.3 Scott Kingsley Clark, Francesco Carlucci May 30, 2024
9 Advanced Custom Fields <= 6.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Field CVE-2023-6701 6.4 Francesco Carlucci January 17, 2024
10 Advanced Custom Fields (Free and Pro) 5.8.10 to 5.12.5 & 6.0.0 to 6.1.5 - Reflected Cross-Site Scripting via 'post_status' CVE-2023-30777 6.1 Rafie Muhammad May 4, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation