Stock Portfolio Security & Risk Analysis

wordpress.org/plugins/stock-portfolio

Keep track of the percentage gain/loss performance of up to 12 stocks in your portfolio

40 active installs v1.2.3 PHP + WP 4.0+ Updated Jun 21, 2022
diy-investormarketmoneystock-quotesstocks
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Stock Portfolio Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 3yr ago
Risk Assessment

The 'stock-portfolio' plugin version 1.2.3 exhibits a seemingly strong security posture based on the provided static analysis. There are no identified AJAX handlers, REST API routes, shortcodes, or cron events, resulting in zero entry points to analyze. Furthermore, the code signals indicate a complete absence of dangerous functions, file operations, external HTTP requests, and importantly, the use of prepared statements for all SQL queries. The taint analysis also found no critical or high severity vulnerabilities, suggesting no obvious injection flaws were detected.

However, the static analysis does reveal a significant concern: only 24% of output is properly escaped. This indicates a high potential for Cross-Site Scripting (XSS) vulnerabilities, as user-supplied data or application data might be rendered directly in the browser without proper sanitization. The lack of nonce and capability checks, while not immediately alarming given the absence of entry points, could become a risk if new entry points are introduced in future versions without corresponding security measures. The plugin's vulnerability history shows no known CVEs, which is a positive sign, but this should be viewed in conjunction with the identified output escaping issues. The absence of past vulnerabilities does not guarantee future security, especially with the identified code weaknesses.

In conclusion, while the 'stock-portfolio' plugin has a minimal attack surface and employs secure database practices, the significantly low rate of proper output escaping represents a substantial risk. This oversight could lead to XSS vulnerabilities, allowing attackers to inject malicious scripts into the user's browser. Addressing the output escaping is paramount to improving the plugin's overall security.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks found
  • No capability checks found
Vulnerabilities
None known

Stock Portfolio Security Vulnerabilities

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

Stock Portfolio Code Analysis

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

Output Escaping

24% escaped51 total outputs
Attack Surface

Stock Portfolio Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actionwidgets_initstock-porfolio.php:15
actionwp_enqueue_scriptsstock-porfolio.php:19
Maintenance & Trust

Stock Portfolio Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 21, 2022
PHP min version
Downloads4K

Community Trust

Rating100/100
Number of ratings1
Active installs40
Developer Profile

Stock Portfolio Developer Profile

aguadavid

1 plugin · 40 total installs

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

How We Detect Stock Portfolio

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/stock-portfolio/include/css/stock_portfolio.css/wp-content/plugins/stock-portfolio/include/js/portfolio_quotes.js
Script Paths
/wp-content/plugins/stock-portfolio/include/js/portfolio_quotes.js
Version Parameters
stock-portfolio/include/css/stock_portfolio.css?ver=stock-portfolio/include/js/portfolio_quotes.js?ver=

HTML / DOM Fingerprints

CSS Classes
diy_Stock_Portfoliodiy_investor_stock_portfolio_tablediy_investor_rightdiy_investor_stock_portfolio_tickerdiy_investor_stock_portfolio_quote_diy_investor_stock_portfolio_errordiy_investor_stock_portfolio_change_pnl_
HTML Comments
<!-- Title --><!-- Display Cost or Month --><!-- API Key --><!-- Stock Tickers -->
Data Attributes
id="col0"id="col1"class="diy_investor_right"class="diy_investor_stock_portfolio_table"id="<?php echo $this->id; ?>"class="diy_investor_stock_portfolio_ticker"+12 more
JS Globals
window.jQuerywindow.$
FAQ

Frequently Asked Questions about Stock Portfolio