Skip to main content

Easy Google Fonts CVE-2026-4657

| EUVDEUVD-2026-75240 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-10 Wordfence GHSA-3gmr-w762-355j
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as WordPress Author
  2. Delivery
    Send REST API request with malicious control_selectors payload
  3. Exploit
    WordPress stores unsanitized value in post meta (no sanitize_callback)
  4. Execution
    Payload rendered in <style> tag on frontend
  5. Persist
    Victim visits injected page
  6. Impact
    Browser executes attacker script

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold a valid WordPress account at Author level or higher (Contributor does not suffice - Authors have REST API write access to post meta). The control_selectors meta field must be exposed via the REST API, which is the default behavior introduced by the plugin's registration code (show_in_rest: true). No non-default configuration is required - any site running Easy Google Fonts ≤ 2.0.4 with at least one Author-level account is vulnerable. Exploitation is bounded by: (1) requiring authenticated access at Author or above, ruling out fully unauthenticated attackers; (2) requiring the plugin to be active and applied to at least one published page for victims to encounter the payload. Sites that restrict Author registration or operate as single-author blogs have significantly reduced exposure.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, score 6.4) accurately reflects the attack surface: network-reachable, low complexity, requires only Author-level credentials (PR:L), executes automatically when any user visits the injected page (UI:N per stored-XSS convention), and achieves a scope change affecting victims' browsers. Real-world risk is elevated for any WordPress site that allows external or untrusted Author accounts - freelance contributors, guest bloggers, or compromised Author credentials create a direct path to session-hijacking site visitors or administrators. EPSS data is absent from the provided intelligence, and no CISA KEV listing exists, so active exploitation is not confirmed. No fixed patch version is identified in the available data, which is the most significant risk amplifier: all installations running 2.0.4 and earlier remain exposed with no vendor-supplied remediation confirmed at time of analysis. The scope change (S:C) is real because the injected script runs in every victim's browser context, not the server, enabling credential theft and DOM manipulation against site users including administrators.

Exploit ScenarioDerived

An attacker with an Author account (obtained via registration, credential stuffing, or social engineering) sends a REST API PATCH request to the WordPress post meta endpoint, setting control_selectors to a value containing a closing </style> tag followed by a <script> payload. Because no sanitize_callback is registered, WordPress stores the raw value. Every subsequent page load that renders the font configuration writes the injected markup into the HTML <style> block, executing the attacker's script in every visitor's browser - including site administrators - enabling session-cookie theft or admin-action forgery.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 10, 2026

Stored cross-site scripting in the Easy Google Fonts WordPress plugin (versions ≤ 2.0.4) allows authenticated attackers with Author-level access to inject arbitrary JavaScript that executes in victims' browsers. The flaw stems from the plugin registering the control_selectors post meta field with show_in_rest: true and no sanitize_callback, then writing that unsanitized value directly into <style> tags rendered on the frontend. No public exploit or KEV listing is present at time of analysis, but the low privilege bar (Author) and automatic execution on page load make this an elevated concern for multi-author WordPress deployments.

RemediationAI

No vendor-released patch has been independently confirmed from the available data - the plugin's trunk and 2.0.4 code in the WordPress Trac repository both exhibit the vulnerable pattern at data.php and frontend.php. Site administrators should monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/7bf1d5a8-84b7-40e3-b258-eef599b64add) and the plugin's WordPress.org changelog for an updated release. As a compensating control, restrict Author-level registration and block untrusted users from attaining Author roles on multi-user sites; this eliminates the PR:L access needed to exploit the flaw. Alternatively, deactivating the Easy Google Fonts plugin eliminates the attack surface entirely while Google Fonts can be served via alternative methods (theme-level or a patched plugin). Do not rely on WAF CSS-injection rules alone - the injection occurs inside <style> tags and filter bypass is common.

Affected VersionsENISA

Easy Google Fonts 0 ≤2.0.4

Affected Packages

euvd easy_google_fonts no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Easy Google Fonts plugin (CPE: cpe:2.3:a:sunny_johal:easy_google_fonts:*:*:*:*:*:*:*:*), developed by Sunny Johal, extends WordPress to apply Google Fonts via customizer-driven CSS selectors. The vulnerable pathway involves two files: data.php (L72, L214, L24) registers the control_selectors post meta with show_in_rest enabled, exposing it to the WordPress REST API without a sanitize_callback to strip or encode attacker-supplied values. frontend.php (L185) then outputs this raw meta value directly inside <style> HTML elements. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the accurate root-cause classification - input accepted from an unprivileged REST consumer is echoed to all page viewers without output encoding, a classic stored-XSS pattern in the WordPress plugin ecosystem.

Know when Easy Google Fonts gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Author-level REST API write access (PR:L) required; stored payload auto-executes on page load (UI:N); scope changes to victim browsers (S:C); limited C/I impact consistent with session-theft/DOM-injection.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular WordPress plugin for Google Fonts integration
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy