Self-Hosted Google Fonts Security & Risk Analysis

wordpress.org/plugins/selfhost-google-fonts

Automatically self-host all the Google Fonts on your site. Plug and play.

30K active installs v1.0.1 PHP 5.4+ WP 4.0+ Updated Jun 15, 2018
dsgvogdprgoogle-fontstypography
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Self-Hosted Google Fonts Safe to Use in 2026?

Generally Safe

Score 85/100

Self-Hosted Google Fonts has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The selfhost-google-fonts plugin v1.0.1 exhibits a generally strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, shortcodes, and cron events significantly limits the attack surface. Furthermore, the code demonstrates good practices by exclusively using prepared statements for SQL queries, implementing nonce checks, and performing capability checks. The high percentage of properly escaped output is also a positive indicator.

However, there are a couple of areas that warrant attention. The presence of two file operations, even if not flagged as problematic in taint analysis, can sometimes introduce vulnerabilities if not handled with extreme care, especially concerning user-supplied input. The single external HTTP request also represents a potential pivot point for attackers if the target service is compromised or if the request is not properly validated or handled.

The plugin's vulnerability history is a significant strength, showing zero recorded CVEs. This indicates a consistent track record of secure development and maintenance. In conclusion, while the plugin demonstrates excellent adherence to many security best practices and boasts a clean vulnerability history, the minor concerns regarding file operations and external HTTP requests, along with the potential for issues in areas not explicitly covered by the provided analysis (like input sanitization beyond taint flows), suggest continued vigilance is appropriate. The overall risk is low, but not zero.

Key Concerns

  • File operations present
  • External HTTP requests present
Vulnerabilities
None known

Self-Hosted Google Fonts Security Vulnerabilities

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

Self-Hosted Google Fonts Code Analysis

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

Output Escaping

88% escaped16 total outputs
Attack Surface

Self-Hosted Google Fonts Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 17
actionadmin_noticesbootstrap.php:29
actionadmin_noticesbootstrap.php:38
actionplugins_loadedbootstrap.php:55
actioncmb2_admin_initinc\admin.php:19
actionadmin_enqueue_scriptsinc\admin.php:22
actionadmin_noticesinc\admin.php:28
actionadmin_menuinc\admin.php:32
filtercmb2_sanitize_toggleinc\admin.php:46
actioncmb2_save_options-page_fieldsinc\admin.php:51
actioncmb2_render_manualinc\admin.php:54
filtercmb2_meta_box_urlinc\plugin.php:100
actionwp_enqueue_scriptsinc\plugin.php:142
actionplugins_loadedinc\plugin.php:145
filterstyle_loader_srcinc\process.php:49
filterwp_resource_hintsinc\process.php:53
actiontemplate_redirectinc\process.php:66
actionwp_print_stylesinc\process.php:82
Maintenance & Trust

Self-Hosted Google Fonts Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedJun 15, 2018
PHP min version5.4
Downloads153K

Community Trust

Rating96/100
Number of ratings40
Active installs30K
Developer Profile

Self-Hosted Google Fonts Developer Profile

asadkn

4 plugins · 61K total installs

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

How We Detect Self-Hosted Google Fonts

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/selfhost-google-fonts/css/admin/cmb2.css/wp-content/plugins/selfhost-google-fonts/js/admin/cmb2-conditionals.js
Script Paths
/wp-content/plugins/selfhost-google-fonts/js/admin/cmb2-conditionals.js
Version Parameters
selfhost-google-fonts/js/admin/cmb2-conditionals.js?ver=selfhost-google-fonts/css/admin/cmb2.css?ver=

HTML / DOM Fingerprints

CSS Classes
sphere-cmb2-wrap
HTML Comments
<!-- Important Info About Self-Hosted Fonts --><!-- Add attributes to an empty span for cmb2-conditional -->
Data Attributes
data-conditional-id
FAQ

Frequently Asked Questions about Self-Hosted Google Fonts