Google Trends Shortcode Security & Risk Analysis

wordpress.org/plugins/google-trends-shortcode

This plugin embeds a Google Trends graph to display using a shortcode.

20 active installs v1.6 PHP + WP 3.5.0+ Updated Apr 18, 2017
google-trendsshortcode
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Google Trends Shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The Google Trends Shortcode plugin version 1.6 exhibits a generally good security posture based on the static analysis. It has a minimal attack surface consisting of a single shortcode, and importantly, no identified AJAX handlers or REST API routes exposed without proper authentication or permission checks. The absence of dangerous functions, file operations, and external HTTP requests further strengthens its security. Furthermore, all SQL queries are properly prepared, and there are no recorded vulnerabilities, suggesting a history of stable and secure development.

However, a significant concern lies in the output escaping. With only 33% of its outputs properly escaped, there is a considerable risk of Cross-Site Scripting (XSS) vulnerabilities. This means that malicious code could potentially be injected and executed in users' browsers through the output generated by the shortcode. While taint analysis and vulnerability history do not currently indicate any issues, the lack of comprehensive output escaping is a notable weakness that requires attention.

In conclusion, the plugin's lack of critical vulnerabilities in its history and its secure handling of SQL and entry points are positive indicators. Nevertheless, the high percentage of unescaped output presents a tangible risk that should be addressed to improve the overall security of the plugin.

Key Concerns

  • Insufficient output escaping
Vulnerabilities
None known

Google Trends Shortcode Security Vulnerabilities

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

Google Trends Shortcode Code Analysis

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

Output Escaping

33% escaped6 total outputs
Attack Surface

Google Trends Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[trends] google-trends-shortcode.php:48
Maintenance & Trust

Google Trends Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedApr 18, 2017
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings6
Active installs20
Developer Profile

Google Trends Shortcode Developer Profile

Joan Boluda

9 plugins · 7K total installs

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

How We Detect Google Trends Shortcode

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

Asset Fingerprints

Script Paths
http://www.google.com/trends/embed.js

HTML / DOM Fingerprints

Shortcode Output
<script type="text/javascript" src="http://www.google.com/trends/embed.js?hl=en-US&q=&geo=&cmpt=q&content=1&cid=TIMESERIES_GRAPH_0&export=5&w=&h=
FAQ

Frequently Asked Questions about Google Trends Shortcode