GFontr, Google WebFont Security & Risk Analysis

wordpress.org/plugins/gfontr

This plugin provides an easy way to include fonts from Google WebFont API.

10 active installs v1.2 PHP + WP 2.9+ Updated Jul 26, 2011
betafontsgoogle-webfontwebfont
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is GFontr, Google WebFont Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

The gfontr plugin v1.2 presents a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and has no recorded vulnerabilities or CVEs, suggesting a history of stable and secure development. Furthermore, the static analysis shows no identified critical or high severity taint flows, indicating that data is generally handled safely within the plugin's analyzed code paths.

However, several concerns warrant attention. The presence of the `create_function` dangerous function is a significant red flag, as it can be used to execute arbitrary PHP code and is often a target for attackers. Additionally, the fact that 100% of output is not properly escaped presents a serious cross-site scripting (XSS) risk. This means that if any user-supplied data is rendered on the frontend without proper sanitization, it could be exploited to inject malicious scripts. The absence of nonce checks on entry points, while the attack surface is currently reported as zero, could become a vulnerability if new entry points are introduced without proper security measures.

In conclusion, while the plugin benefits from a clean vulnerability history and secure SQL handling, the use of `create_function` and the complete lack of output escaping are critical weaknesses that significantly elevate its risk profile. The plugin needs immediate attention to address these specific coding flaws to mitigate potential security breaches.

Key Concerns

  • 100% of output not properly escaped
  • Presence of dangerous function: create_function
  • No nonce checks on entry points
Vulnerabilities
None known

GFontr, Google WebFont Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

GFontr, Google WebFont Release Timeline

vbeta
Code Analysis
Analyzed Mar 16, 2026

GFontr, Google WebFont Code Analysis

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

Dangerous Functions Found

create_functionadd_action('plugins_loaded', create_function('','global $gfontr; $gfontr = new gfontr();'));gfontr.php:104

Output Escaping

0% escaped2 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

2 flows
display_page (gfontr.php:49)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

GFontr, Google WebFont Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 5
actionadmin_enqueue_scriptsgfontr.php:15
actionadmin_initgfontr.php:16
actionadmin_menugfontr.php:17
actionwp_headgfontr.php:21
actionplugins_loadedgfontr.php:104
Maintenance & Trust

GFontr, Google WebFont Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedJul 26, 2011
PHP min version
Downloads6K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

GFontr, Google WebFont Developer Profile

Bensventures

3 plugins · 120 total installs

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

How We Detect GFontr, Google WebFont

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/gfontr/gfontr-js.js
Script Paths
http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js/wp-content/plugins/gfontr/gfontr-js.js

HTML / DOM Fingerprints

JS Globals
currentFonts
FAQ

Frequently Asked Questions about GFontr, Google WebFont