CVE-2023-6701 Advanced Custom Fields <= 6.2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Field
Authenticated attackers can inject arbitrary scripts via custom fields, leading to code execution when users view affected pages.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-6701?
CVE-2023-6701 is a medium-severity cross-site scripting vulnerability in Delicious Brains Advanced Custom Fields (ACF®), published on 5 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Advanced Custom Fields (ACF) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via a custom text field in all versions up to, and including, 6.2.4 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Weakness: CWE-79
Which versions are affected by CVE-2023-6701?
It affects 1 product.
Products include Advancedcustomfields Advanced Custom Fields.
How do I fix CVE-2023-6701?
No fix has been published for CVE-2023-6701 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-6701 being exploited?
There is no known exploitation of CVE-2023-6701 in the wild and no public exploit code.
Other vulnerabilities in Delicious Brains Advanced Custom Fields (ACF®)
- CVE-2023-1196 Advanced Custom Fields - Contributor+ PHP Object Injection
- CVE-2022-2594 Advanced Custom Fields 5.0-5.12.2 - Unauthenticated File Upload
- CVE-2024-4565 Advanced Custom Fields < 6.3 - Contributor+ Custom Field Access
- CVE-2021-20865 Missing authorization in Advanced Custom Fields and Advanced Custom Fields Pro
- CVE-2023-30777 WordPress Advanced Custom Fields / Advanced Custom Fields PRO plugins <= 6.1.5 vulnerable to Cross Site Scripting (XSS)
Sources
Also known as GHSA-r7c8-hj86-5mfc.