Variable Font Sampler Security & Risk Analysis

wordpress.org/plugins/variable-font-sampler

Show your variable font in your wordpress site with user determined preview text and slider for weight, width, and font size

10 active installs v1.0.4 PHP 7.0+ WP 5.7+ Updated Jul 10, 2025
font-foundry-fontsamplerfont-previewfontsvariable-font
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Variable Font Sampler Safe to Use in 2026?

Generally Safe

Score 100/100

Variable Font Sampler has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 8mo ago
Risk Assessment

The "variable-font-sampler" plugin v1.0.4 demonstrates a generally strong security posture based on the provided static analysis. The absence of dangerous functions, the exclusive use of prepared statements for SQL queries, and the 100% proper output escaping indicate good development practices in preventing common web vulnerabilities. Furthermore, the lack of any recorded vulnerabilities or CVEs in its history suggests a mature and well-maintained codebase.

However, there are notable areas for concern. The plugin lacks any nonce checks and capability checks, which are crucial for securing entry points, particularly its single shortcode. While the static analysis did not identify any direct issues related to these checks, their absence significantly increases the risk of unauthorized actions if any vulnerabilities were to be introduced or discovered in the future. The plugin also performs file operations without explicitly detailed sanitization or permission checks in the provided data, which could be a potential vector if not handled with extreme care. The absence of external HTTP requests and taint analysis flows with unsanitized paths is positive, but the lack of broader security checks on critical components like shortcodes remains a significant weakness.

In conclusion, while the plugin has avoided known vulnerabilities and employs good practices in SQL and output handling, the absence of essential security mechanisms like nonce and capability checks on its shortcode is a considerable oversight. This leaves it susceptible to potential privilege escalation or unauthorized execution attacks. The developer should prioritize implementing these checks to enhance the plugin's overall security.

Key Concerns

  • Missing Nonce checks on shortcode
  • Missing Capability checks on shortcode
  • File operations without clear auth/sanitization
Vulnerabilities
None known

Variable Font Sampler Security Vulnerabilities

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

Variable Font Sampler Code Analysis

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

Output Escaping

100% escaped36 total outputs
Attack Surface

Variable Font Sampler Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[font_sampler] variable-font-sampler.php:43
WordPress Hooks 2
actioninitvariable-font-sampler.php:41
actionwp_enqueue_scriptsvariable-font-sampler.php:42
Maintenance & Trust

Variable Font Sampler Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 10, 2025
PHP min version7.0
Downloads293

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Variable Font Sampler Developer Profile

DR ANIRBAN MITRA

2 plugins · 20 total installs

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

How We Detect Variable Font Sampler

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/variable-font-sampler/font-sampler.css/wp-content/plugins/variable-font-sampler/font-sampler.js
Script Paths
/wp-content/plugins/variable-font-sampler/font-sampler.js
Version Parameters
variable-font-sampler/font-sampler.css?ver=variable-font-sampler/font-sampler.js?ver=

HTML / DOM Fingerprints

CSS Classes
font-sampler-containerfont-sampler-previewfont-samplefont-sampler-controlscontrol-groupsize-controlsize-valueweight-control+5 more
Data Attributes
data-fontdata-textdata-sizedata-controls
JS Globals
fontSampler
Shortcode Output
[font_sampler]
FAQ

Frequently Asked Questions about Variable Font Sampler