Description
The Easy Google Fonts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the control_selectors meta field in all versions up to, and including, 2.0.4. This is due to the plugin registering the control_selectors meta field with show_in_rest enabled but without a sanitize_callback, and subsequently outputting this unsanitized data directly into <style> tags on the frontend without proper escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-09-10
Score: 6.4 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Easy Google Fonts plugin where the control_selectors meta field is registered with REST visibility but lacks any sanitization. When the plugin outputs this metadata inside <style> tags on the site without escaping, an attacker with at least Author privilege can inject arbitrary JavaScript. The injected scripts would execute on any visitor to the affected page, enabling session hijacking, defacement, or phishing attacks.

Affected Systems

All instances of the Easy Google Fonts WordPress plugin up to and including version 2.0.4 are vulnerable. The affected product is the plugin from the developer Sunny_Johal. Any WordPress site running these plugin versions is at risk.

Risk and Exploitability

The CVSS score of 6.4 indicates significant impact, while the EPSS score is not available, so current exploitation probability is unknown. This vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires the attacker to be authenticated with Author-level access or higher, which suggests the threat vector is local or internal. Attackers can leverage the WordPress administrative interface to modify the meta field, then any visitor to the compromised page will trigger the injected script.

Generated by OpenCVE AI on September 10, 2026 at 05:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Easy Google Fonts to the latest released version (>=2.0.5) where the control_selectors meta field is properly sanitized and escaped.
  • If an immediate upgrade is not possible, revoke Author or higher user access for untrusted accounts and monitor for suspicious meta field modifications.
  • Verify that all instances of the control_selectors meta field are removed or sanitized; consider running a script to delete unsanitized entries or replace them with safe content.

Generated by OpenCVE AI on September 10, 2026 at 05:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 10 Sep 2026 04:00:00 +0000

Type Values Removed Values Added
Description The Easy Google Fonts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the control_selectors meta field in all versions up to, and including, 2.0.4. This is due to the plugin registering the control_selectors meta field with show_in_rest enabled but without a sanitize_callback, and subsequently outputting this unsanitized data directly into <style> tags on the frontend without proper escaping. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Easy Google Fonts <= 2.0.4 - Authenticated (Author+) Stored Cross-Site Scripting via control_selectors Meta Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-10T03:40:41.727Z

Reserved: 2026-03-23T15:23:49.727Z

Link: CVE-2026-4657

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-10T04:18:04.410

Modified: 2026-09-10T04:18:04.410

Link: CVE-2026-4657

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T05:30:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')