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)
- Affected
- all versions before 6.2.3
- Remediation
- Update to 6.2.3 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-20
- Attack surface
- Advanced Custom Fields: Font Awesome Field on WPSec AttackSurface
- Fix released
- Published
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/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS