LH Tools Security & Risk Analysis

wordpress.org/plugins/lh-tools

LH Tools is a wordpress plugin that enables a sparql endpoint for for WordPress sites. This will enable semantic querying of WordPress data.

10 active installs v0.15 PHP + WP 3.0+ Updated Apr 24, 2015
jsonlocalherordfskossparql
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is LH Tools Safe to Use in 2026?

Generally Safe

Score 85/100

LH Tools has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 11yr ago
Risk Assessment

The "lh-tools" plugin v0.15 presents a mixed security posture. While it demonstrates good practices like using prepared statements for all SQL queries and having no known CVEs, significant concerns arise from its static analysis. The complete absence of nonce checks and capability checks, coupled with the presence of the `exec` dangerous function and unsanitized path taint flows, creates potential avenues for malicious exploitation. The fact that 100% of its outputs are not properly escaped is also a serious weakness, potentially leading to Cross-Site Scripting (XSS) vulnerabilities. The plugin has no recorded vulnerability history, which is a positive sign, but this cannot fully mitigate the risks identified in the current code. The limited attack surface and zero unprotected entry points are commendable, but the identified code signals and taint analysis suggest that if an attacker could find a way to trigger these flaws, the impact could be severe.

Key Concerns

  • Dangerous function `exec` found
  • Unsanitized path taint flows found (2 high severity)
  • No nonce checks present
  • No capability checks present
  • 0% output properly escaped
  • 2 file operations found
  • 2 external HTTP requests found
Vulnerabilities
None known

LH Tools Security Vulnerabilities

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

LH Tools Release Timeline

No version history available.
Code Analysis
Analyzed Apr 16, 2026

LH Tools Code Analysis

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

Dangerous Functions Found

execexec($sCmd, $aOutput, $iResult);lh-tools.php:378
execexec($sCmd, $aOutput, $iResult);lh-tools.php:387
execexec($sCmd, $aOutput, $iResult);lh-tools.php:400

SQL Query Safety

100% prepared18 total queries

Output Escaping

0% escaped27 total outputs
Data Flows · Security
4 unsanitized

Data Flow Analysis

4 flows4 with unsanitized paths
rdf_tools_handle_options_submit (lh-tools.php:280)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

LH Tools Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[lh_tools_article_map_shortcode] library/the_widgets.php:26
[lh_tools_related_articles_shortcode] library/the_widgets.php:67
WordPress Hooks 8
actionadmin_menulh-tools.php:77
actionlh_tools_load_endpoint_hourlylh-tools.php:596
actionwplh-tools.php:606
filterxmlrpc_methodslh-tools.php:663
actioninitlh-tools.php:675
actioninitlh-tools.php:687
actionplugins_loadedlibrary/the_widgets.php:43
actionplugins_loadedlibrary/the_widgets.php:83

Scheduled Events 1

lh_tools_load_endpoint_hourly
Maintenance & Trust

LH Tools Maintenance & Trust

Maintenance Signals

WordPress version tested4.2.39
Last updatedApr 24, 2015
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

LH Tools Developer Profile

shawfactor

89 plugins · 15K total installs

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

How We Detect LH Tools

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/lh-tools/arc/js/arc.js/wp-content/plugins/lh-tools/arc/js/arc.min.js/wp-content/plugins/lh-tools/css/lh-tools.css/wp-content/plugins/lh-tools/js/lh-tools.js
Script Paths
/wp-content/plugins/lh-tools/arc/js/arc.js/wp-content/plugins/lh-tools/arc/js/arc.min.js/wp-content/plugins/lh-tools/js/lh-tools.js

HTML / DOM Fingerprints

CSS Classes
rdf-toolsform-item
HTML Comments
== Changelog ==License:Copyright 2011 Peter Shaw (email : pete@localhero.biz)This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.+7 more
Data Attributes
name="store_setup"id="store_setup"name="store_reset"id="store_reset"name="store_drop"id="store_drop"+10 more
JS Globals
rdf_tools_get_tokenrdf_tools_handle_options_submitrdf_tools_get_store_options_fieldslh_tools_get_lh_rdf_get_linklh_rdf_get_linkrdf_tools_get_endpoint_options_fields+2 more
REST Endpoints
/wp-json/lh-tools/
FAQ

Frequently Asked Questions about LH Tools