CVE-2024-2657: CWE-87 Improper Neutralization of Alternate XSS Syntax in khl32 Font Farsi
The Font Farsi plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI Analysis
Technical Summary
CVE-2024-2657 describes a stored cross-site scripting vulnerability in the Font Farsi WordPress plugin (up to version 1.6.6). The flaw arises from improper neutralization of alternate XSS syntax (CWE-87) in the plugin's admin settings, allowing authenticated administrators to inject malicious scripts. This vulnerability manifests in multi-site WordPress environments or installations with unfiltered_html disabled, enabling script execution in pages viewed by other users. The CVSS 3.1 base score is 4.4, reflecting a medium severity with network attack vector, high attack complexity, and requiring high privileges but no user interaction.
Potential Impact
An attacker with administrator-level permissions can inject persistent malicious scripts into the WordPress site via the Font Farsi plugin's admin settings. These scripts execute in the context of users visiting the injected pages, potentially leading to data theft, session hijacking, or other client-side attacks. The impact is limited to multi-site installations or those with unfiltered_html disabled, and requires high privileges, reducing the risk to lower-privileged users.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Administrators should carefully review and restrict access to the Font Farsi plugin settings, especially in multi-site environments and where unfiltered_html is disabled. Monitor vendor channels for updates or patches. Until a fix is released, limiting administrator access and avoiding use of the vulnerable plugin version can reduce risk.
CVE-2024-2657: CWE-87 Improper Neutralization of Alternate XSS Syntax in khl32 Font Farsi
Description
The Font Farsi plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and including, 1.6.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-2657 describes a stored cross-site scripting vulnerability in the Font Farsi WordPress plugin (up to version 1.6.6). The flaw arises from improper neutralization of alternate XSS syntax (CWE-87) in the plugin's admin settings, allowing authenticated administrators to inject malicious scripts. This vulnerability manifests in multi-site WordPress environments or installations with unfiltered_html disabled, enabling script execution in pages viewed by other users. The CVSS 3.1 base score is 4.4, reflecting a medium severity with network attack vector, high attack complexity, and requiring high privileges but no user interaction.
Potential Impact
An attacker with administrator-level permissions can inject persistent malicious scripts into the WordPress site via the Font Farsi plugin's admin settings. These scripts execute in the context of users visiting the injected pages, potentially leading to data theft, session hijacking, or other client-side attacks. The impact is limited to multi-site installations or those with unfiltered_html disabled, and requires high privileges, reducing the risk to lower-privileged users.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Administrators should carefully review and restrict access to the Font Farsi plugin settings, especially in multi-site environments and where unfiltered_html is disabled. Monitor vendor channels for updates or patches. Until a fix is released, limiting administrator access and avoiding use of the vulnerable plugin version can reduce risk.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-03-19T16:43:24.112Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6db3b7ef31ef0b58b08d
Added to database: 2/25/2026, 9:46:27 PM
Last enriched: 4/9/2026, 2:04:42 PM
Last updated: 4/11/2026, 4:57:45 PM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.