Advanced Custom Fields WordPress Plugin Select2 Dropdown XSS Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in the Advanced Custom Fields (ACF) WordPress plugin, specifically in versions prior to 5.8.12. The issue arises from improper escaping of strings in Select2 dropdowns, which could be exploited to inject malicious scripts.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Remediation

Users can update to Advanced Custom Fields version 5.8.12 or later to address this vulnerability.

Added: May 15, 2026, 8:52 AM
Updated: May 15, 2026, 8:52 AM

Vulnerability Rating

Custom Algorithm
spread
6.4
impact
1.7
exploitability
5.2
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.