CVE-2026-128096 in Advanced Custom Fields Font Awesome Field Plugininfo

Summary

by MITRE • 11/26/2026

The Advanced Custom Fields: Font Awesome Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'acf[field_klzacffa_iconcls] (profile.php) / acf.profile_icon_class (REST)' parameter in all versions up to, and including, 6.2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is only exploitable when the plugin is configured in FontAwesome 4.x or 5.x compatibility mode and the icon field's return format is set to 'Icon Class', which is the documented usage pattern for rendering icon classes in theme templates.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The Advanced Custom Fields Font Awesome Field extension for WordPress presents a significant security risk due to a stored cross-site scripting vulnerability affecting versions up through 6.2.2. This flaw resides within the acf field_klzacffa_iconcls parameter, which is accessible via both the profile.php interface and the REST API endpoint acf.profile_icon_class. The root cause of this vulnerability is insufficient input sanitization combined with a lack of output escaping when handling user-supplied data. Because the malicious script content is stored on the server rather than being reflected in the immediate request, it persists until manually removed from the database or configuration settings. This persistence allows the attack to affect any subsequent visitor who views the compromised page, creating a widespread impact potential beyond just the initial attacker account.

Exploitation of this vulnerability requires authenticated access with at least subscriber-level privileges and above. While high-privilege accounts are often targeted in such scenarios, the requirement for even low-level authentication highlights a critical oversight in permission validation within the plugin's input handling logic. The attack is specifically contingent upon the plugin being configured to operate in FontAwesome 4.x or 5.x compatibility mode with the icon field return format set to Icon Class. This configuration represents the standard and documented usage pattern for rendering icons in theme templates, meaning that a large portion of installations using this common setup are inherently vulnerable if not patched. The attacker can inject arbitrary web scripts by manipulating the specified parameter during profile updates or REST API calls, effectively turning legitimate icon class fields into vectors for malicious code execution.

The operational impact of this stored cross-site scripting flaw is severe, as it enables attackers to execute arbitrary JavaScript in the context of other users' sessions. This capability facilitates a range of hostile actions including session hijacking, where an attacker can steal authentication cookies and impersonate legitimate users; credential harvesting through fake login forms injected into trusted pages; and defacement or redirection attacks that damage site integrity and user trust. Since the script executes whenever a victim accesses the affected page, it does not require social engineering tricks like phishing links to trigger, making it particularly dangerous in environments where multiple users interact with shared content profiles. The persistence of the payload ensures continuous exposure until remediation occurs.

To mitigate this vulnerability, administrators must upgrade the Advanced Custom Fields Font Awesome Field plugin to a version later than 6.2.2 immediately upon availability from the official vendor repository. Until an update is applied or if upgrading is not feasible due to compatibility constraints, implementing strict input validation and output escaping mechanisms at the application level can provide temporary relief. This involves ensuring that all icon class inputs are sanitized against known malicious patterns before storage and properly escaped using context-aware functions when rendered in HTML templates. Additionally, enforcing Content Security Policy headers can help mitigate the impact of any successfully injected scripts by restricting the sources from which executable content is loaded. Regular security audits and monitoring for unusual activity in user profile modifications should also be conducted to detect potential exploitation attempts early. This incident underscores the importance of rigorous input validation practices even within fields that appear benign, such as icon class selectors, and highlights the need for developers to adhere strictly to secure coding standards defined by industry frameworks like CWE-79 for cross-site scripting prevention.

Responsible

Wordfence

Reservation

11/12/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00340

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!