TFO Graphviz Security & Risk Analysis

wordpress.org/plugins/tfo-graphviz

Generates Graphviz graphics using shortcodes. Supports almost all Graphviz features (depending on the generation method in use.)

40 active installs v1.19 PHP + WP 4.2.0+ Updated Jun 23, 2019
diagramflirblegraphgraphviznetwork
85
A · Safe
CVEs total1
Unpatched0
Last CVEMay 25, 2015
Safety Verdict

Is TFO Graphviz Safe to Use in 2026?

Generally Safe

Score 85/100

TFO Graphviz has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: May 25, 2015Updated 6yr ago
Risk Assessment

The "tfo-graphviz" plugin version 1.19 exhibits a mixed security posture. On one hand, it demonstrates good practices by using prepared statements for all SQL queries and implementing nonce and capability checks, albeit sparingly. The absence of an attack surface through AJAX, REST API, shortcodes, or cron events is a significant strength, reducing the potential for direct exploitation.

However, the static analysis reveals critical concerns regarding the use of dangerous functions like `exec` and `proc_open`. Coupled with a "flow with unsanitized paths" identified in taint analysis, this suggests a potential for command injection vulnerabilities if user-controlled input can reach these functions without proper sanitization. The moderate escape rate for output (68%) also indicates a potential risk for Cross-Site Scripting (XSS) vulnerabilities, particularly if the unescaped outputs are user-controllable.

The vulnerability history shows a past medium-severity XSS vulnerability, which, while currently patched, points to a recurring theme of input sanitization issues. Given the presence of `exec` and `proc_open`, and the observed taint flow, the risk of similar or more severe injection vulnerabilities should be carefully considered, despite the lack of current unpatched CVEs. The plugin's strengths lie in its limited attack surface and database security, but the identified code signals and past vulnerability warrant significant caution.

Key Concerns

  • Dangerous functions: exec, proc_open
  • Flows with unsanitized paths
  • Output escaping: 32% improperly escaped
  • Past medium CVE (XSS)
  • Limited security checks overall
Vulnerabilities
1

TFO Graphviz Security Vulnerabilities

CVEs by Year

1 CVE in 2015
2015
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2015-10131medium · 6.1Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

TFO Graphviz <= 1.9 - Reflected Cross-Site Scripting

May 25, 2015 Patched in 1.10 (3258d)
Code Analysis
Analyzed Mar 16, 2026

TFO Graphviz Code Analysis

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

Dangerous Functions Found

execexec( $exec, $out, $r );tfo-graphviz-admin.php:221
exec$guess_graphviz_path = trim( @exec( 'which dot' ) );tfo-graphviz-admin.php:411
exec$graphviz_path = trim( @exec( 'which dot' ) );tfo-graphviz-admin.php:462
proc_open$proc = proc_open($cmd, $ds, $pipes, sys_get_temp_dir(), array());tfo-graphviz-graphviz.php:148

Output Escaping

68% escaped41 total outputs
Data Flows
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
shortcode (tfo-graphviz.php:160)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

TFO Graphviz Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menutfo-graphviz-admin.php:42
actionadmin_noticestfo-graphviz-admin.php:54
actionadmin_noticestfo-graphviz-admin.php:56
actionadmin_headtfo-graphviz-admin.php:110
actionwp_headtfo-graphviz.php:80
filterno_texturize_shortcodestfo-graphviz.php:82
actioninittfo-graphviz.php:395
Maintenance & Trust

TFO Graphviz Maintenance & Trust

Maintenance Signals

WordPress version tested5.2.24
Last updatedJun 23, 2019
PHP min version
Downloads5K

Community Trust

Rating100/100
Number of ratings2
Active installs40
Developer Profile

TFO Graphviz Developer Profile

Chris Luke

1 plugin · 40 total installs

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

How We Detect TFO Graphviz

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/tfo-graphviz/js/imageMapResizer.min.js/wp-content/plugins/tfo-graphviz/js/tfo-gv.js
Script Paths
/wp-content/plugins/tfo-graphviz/js/imageMapResizer.min.js/wp-content/plugins/tfo-graphviz/js/tfo-gv.js
Version Parameters
tfo-graphviz/style.css?ver=imageMapResizer.min.js?ver=tfo-gv.js?ver=

HTML / DOM Fingerprints

CSS Classes
graphvizgraphviz_error
HTML Comments
<!-- graphviz --><![CDATA[]]><!-- TFO-Graphviz WordPress plugin -->
Data Attributes
data-graphviz-methoddata-graphviz-langdata-graphviz-outputdata-graphviz-imapdata-graphviz-hrefdata-graphviz-width+5 more
JS Globals
jQuery
Shortcode Output
<img src="" class="graphviz" alt="" />
FAQ

Frequently Asked Questions about TFO Graphviz