# Advanced Custom Fields: Font Awesome Field <= 6.2.2 - Authenticated (Subscriber+) Stored Cross-Site Scripting via FontAwesome 4.x/5.x Field Icon Class Value

- **ID:** WPSEC-2026-3544
- **Plugin:** Advanced Custom Fields: Font Awesome Field (`advanced-custom-fields-font-awesome`), https://wordpress.org/plugins/advanced-custom-fields-font-awesome/
- **Affected versions:** all versions before 6.2.3
- **Fixed in:** 6.2.3 (Update to 6.2.3 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-20)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/advanced-custom-fields-font-awesome
- **Fix released:** 2026-11-19
- **Published:** 2026-11-20
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3544/

## Description

The Advanced Custom Fields: Font Awesome Field plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the FontAwesome 4.x/5.x field icon value in all versions up to, and including, 6.2.2, due to insufficient input sanitization and output escaping. The stored icon class string is saved exactly as submitted, and the field's format_value() returns it unchanged when the 'Icon Class' return format is used or when the value is not a known icon. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts that run whenever a user opens a page that renders the field. The attacker must be able to edit a FontAwesome 4.x/5.x field, for example a field on the user profile form, a field exposed through the REST API, or a field on a post the attacker can edit.

## References

- https://wpsec.com/vuln/WPSEC-2026-3544/
- https://plugins.svn.wordpress.org/advanced-custom-fields-font-awesome/tags/6.2.3/
- https://wordpress.org/plugins/advanced-custom-fields-font-awesome/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3544/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
