Better Font Awesome WordPress Plugin Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the Better Font Awesome WordPress plugin, affecting versions prior to 2.0.4. The issue arises because the plugin fails to properly validate and escape certain shortcode attributes before rendering them on pages or posts. This flaw enables users with contributor roles and above to inject malicious scripts that are stored and executed later.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the affected page or post.

Reproduction

To reproduce this vulnerability, a user with a contributor role or higher can insert a shortcode with unescaped attributes that include JavaScript event handlers, such as 'onmouseover'. When the shortcode is rendered, the injected script will execute, demonstrating the cross-site scripting vulnerability.

Remediation

Users are advised to update the Better Font Awesome WordPress plugin to version 2.0.4 or later.

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

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
1.7
exploitability
6.5
remediation
7.7
relevance
0.0
threat
6.4
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.