Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-43301 Overview
CVE-2024-43301 is a Cross-Site Request Forgery (CSRF) vulnerability in the Fonts Plugin for WordPress, published by fontsplugin. The flaw affects all versions of the plugin from an unspecified initial release through version 3.7.7. Attackers can abuse the missing CSRF protection to trigger a stored Cross-Site Scripting (XSS) payload when a logged-in administrator visits a maliciously crafted page. Successful exploitation stores attacker-controlled script content in the WordPress site, which executes in the browser context of users who later load affected pages. The vulnerability is tracked under CWE-352 and documented in the Patchstack WordPress Vulnerability Advisory.
Critical Impact
An unauthenticated attacker who tricks a WordPress administrator into clicking a crafted link can plant persistent JavaScript, enabling session theft, administrative action abuse, or site defacement across any visitor of the affected pages.
Affected Products
- Fonts Plugin for WordPress (fontsplugin/fonts)
- All plugin versions up to and including 3.7.7
- WordPress sites with the plugin active and administrators authenticated during attack delivery
Discovery Timeline
- 2024-08-26 - CVE-2024-43301 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-43301
Vulnerability Analysis
The Fonts Plugin exposes administrative endpoints that modify stored plugin settings without validating a CSRF token. When an authenticated WordPress administrator loads an attacker-controlled page, the browser transmits the administrator's session cookies to the plugin's settings endpoint. The forged request writes attacker-supplied content into plugin options that are later rendered inside WordPress pages without sufficient output encoding. This chains CSRF into Stored XSS, giving the attacker persistent script execution tied to the compromised site. The vulnerability requires user interaction from a privileged user but no prior authentication by the attacker.
Root Cause
The root cause is the absence of anti-CSRF controls (for example, missing WordPress wp_nonce verification via check_admin_referer() or wp_verify_nonce()) on administrative setting handlers, combined with insufficient sanitization of stored input. Because the plugin stores attacker-provided values and later renders them in HTML contexts, forged write requests become persistent injection points.
Attack Vector
Exploitation is network-based and requires administrator interaction. An attacker hosts a page containing an auto-submitting form or image tag that targets the plugin's vulnerable endpoint on the victim's WordPress site. When the administrator visits the page while logged in, the browser issues the authenticated request and the malicious payload is stored. Subsequent visits to pages that render the stored field execute the injected script in each viewer's browser context. See the Patchstack advisory for technical details.
Detection Methods for CVE-2024-43301
Indicators of Compromise
- Unexpected <script> tags, inline event handlers, or external script src values appearing in Fonts Plugin configuration options within the wp_options table.
- WordPress access logs showing POST requests to Fonts Plugin admin endpoints with HTTP Referer headers pointing to external, non-admin domains.
- Browser console errors or unexpected outbound requests from pages that embed plugin-controlled font settings.
Detection Strategies
- Query the WordPress database for Fonts Plugin option rows and alert on values containing HTML tags, JavaScript URIs, or encoded script fragments.
- Correlate web server logs for administrative plugin requests where the Referer or Origin header does not match the WordPress site's own domain.
- Use WordPress security scanners or integrity monitoring to flag unauthorized changes to plugin settings outside normal change windows.
Monitoring Recommendations
- Monitor administrator authentication sessions and outbound navigation patterns that could indicate CSRF delivery via phishing or watering hole pages.
- Alert on new or modified JavaScript loaded by WordPress pages, especially from third-party hosts not previously observed.
- Track plugin version inventory across WordPress sites and flag any instance still running Fonts Plugin 3.7.7 or earlier.
How to Mitigate CVE-2024-43301
Immediate Actions Required
- Update the Fonts Plugin to the latest version above 3.7.7 as published by the vendor through the WordPress plugin repository.
- Audit Fonts Plugin settings for injected HTML or JavaScript and restore clean values if tampering is found.
- Force password resets and session invalidation for WordPress administrators if evidence of exploitation is observed.
Patch Information
The Patchstack WordPress Vulnerability Advisory tracks the fix for Fonts Plugin versions after 3.7.7. Administrators should install the latest version through the WordPress admin dashboard or by replacing the plugin files with the current release.
Workarounds
- Deactivate and remove the Fonts Plugin until an upgrade to a patched version is possible.
- Deploy a web application firewall rule to block cross-origin POST requests to WordPress plugin administrative endpoints.
- Require administrators to use separate browser profiles or sessions for WordPress administration to reduce CSRF exposure.
# Example WP-CLI commands to inventory and update the affected plugin
wp plugin list --name=olympus-google-fonts --fields=name,version,status
wp plugin update olympus-google-fonts
wp plugin deactivate olympus-google-fonts # if a patched version is unavailable
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

