Google Webfont Optimizer Security & Risk Analysis

wordpress.org/plugins/google-webfont-optimizer

Makes your website faster by combining all Google Fonts in a single request. Your websites gets a higher PageSpeed score which is good for SEO.

800 active installs v0.2.4 PHP + WP 3.0.1+ Updated Nov 28, 2017
bandwidthcascading-style-sheetjavascriptoptimizeperformance
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Google Webfont Optimizer Safe to Use in 2026?

Generally Safe

Score 85/100

Google Webfont Optimizer has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8yr ago
Risk Assessment

The 'google-webfont-optimizer' v0.2.4 plugin exhibits some concerning security practices despite a seemingly clean vulnerability history. The static analysis reveals a significant weakness in its handling of SQL queries, with 100% of them not utilizing prepared statements. This, combined with 4 identified taint flows with unsanitized paths, suggests a high potential for SQL injection vulnerabilities. While there are no recorded CVEs, the absence of these doesn't guarantee security, especially given the specific code signals.

The plugin's attack surface appears minimal with no exposed AJAX handlers, REST API routes, shortcodes, or cron events. However, this is overshadowed by the lack of capability checks for any potential entry points, which, combined with the taint analysis findings, presents a substantial risk. The low percentage of properly escaped output is also a concern, increasing the likelihood of cross-site scripting (XSS) vulnerabilities.

Overall, while the plugin benefits from a lack of known vulnerabilities and a small attack surface, the identified code-level issues, particularly the unescaped taint flows and raw SQL queries, point to significant security risks that require immediate attention. The absence of vulnerability history might be due to the plugin's limited adoption or simply a lack of thorough auditing.

Key Concerns

  • All SQL queries lack prepared statements
  • Taint flows with unsanitized paths (High severity)
  • Low percentage of properly escaped output
  • No capability checks on potential entry points
Vulnerabilities
None known

Google Webfont Optimizer Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

Google Webfont Optimizer Code Analysis

Dangerous Functions
0
Raw SQL Queries
4
0 prepared
Unescaped Output
18
5 escaped
Nonce Checks
2
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

0% prepared4 total queries

Output Escaping

22% escaped23 total outputs
Data Flows
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
form_handler (scb\AdminPage.php:196)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Google Webfont Optimizer Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 17
actiontemplate_redirectgoogle-webfont-optimizer.php:41
actionshutdowngoogle-webfont-optimizer.php:42
actionwpgoogle-webfont-optimizer.php:377
action_admin_menuscb\AdminPage.php:58
actionadmin_initscb\AdminPage.php:116
actionadmin_noticesscb\AdminPage.php:117
actionadmin_menuscb\AdminPage.php:120
filtercontextual_helpscb\AdminPage.php:121
actionadmin_noticesscb\AdminPage.php:215
filtercron_schedulesscb\Cron.php:57
actionactivate_pluginscb\load.php:32
actionplugins_loadedscb\load.php:38
actionload-post.phpscb\PostMetabox.php:30
actionload-post-new.phpscb\PostMetabox.php:31
actionadd_meta_boxesscb\PostMetabox.php:44
actionsave_postscb\PostMetabox.php:45
actionwidgets_initscb\Widget.php:13
Maintenance & Trust

Google Webfont Optimizer Maintenance & Trust

Maintenance Signals

WordPress version tested4.2.39
Last updatedNov 28, 2017
PHP min version
Downloads38K

Community Trust

Rating72/100
Number of ratings16
Active installs800
Developer Profile

Google Webfont Optimizer Developer Profile

sigurdurg

1 plugin · 800 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Google Webfont Optimizer

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/google-webfont-optimizer/css/gwfo-styles.css
Script Paths
/wp-content/plugins/google-webfont-optimizer/js/gwfo-scripts.js
Version Parameters
google-webfont-optimizer/style.css?ver=gwfo-scripts.js?ver=

HTML / DOM Fingerprints

HTML Comments
<!-- Google Webfont Optimizer --><!-- Added by Google Webfont Optimizer --><!-- GWFO -->
Data Attributes
data-gwfo-id
JS Globals
gwfo_ajax_object
FAQ

Frequently Asked Questions about Google Webfont Optimizer