Get Filesize Shortcode Security & Risk Analysis

wordpress.org/plugins/get-filesize-shortcode

"Get Filesize Shortcode" is a simple shortcode to get filesize of a file( eg. PDF, JPG, PNG ... ).

200 active installs v1.3.0 PHP 5.6+ WP 5.8+ Updated Jul 15, 2025
filesizepdfshortcode
100
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Get Filesize Shortcode Safe to Use in 2026?

Generally Safe

Score 100/100

Get Filesize Shortcode 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 get-filesize-shortcode plugin v1.3.0 exhibits a strong security posture based on the provided static analysis. The code demonstrates good practices by having no dangerous functions, using prepared statements for all SQL queries, and ensuring all outputs are properly escaped. Furthermore, the absence of file operations, external HTTP requests, and recorded vulnerabilities in its history suggests a well-maintained and secure codebase.

However, a notable area for improvement is the complete lack of nonce and capability checks. While the current attack surface is small and consists of only one shortcode without any direct unprotected entry points identified, the absence of these fundamental security mechanisms means that the shortcode's functionality, if it were to interact with sensitive data or actions, could potentially be exploited by an attacker to perform unauthorized operations without proper verification. This is a significant weakness that, while not currently exploitable due to the plugin's limited functionality, represents a potential future risk if the plugin's scope expands or if its current, seemingly benign, functionality is discovered to have hidden side effects.

In conclusion, the plugin is currently secure due to its limited functionality and good coding practices regarding SQL and output escaping. The vulnerability history is a strong positive indicator. The primary concern lies in the complete absence of nonce and capability checks, which is a significant gap in secure WordPress development, even for seemingly low-risk plugins.

Key Concerns

  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Get Filesize Shortcode Security Vulnerabilities

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

Get Filesize Shortcode Code Analysis

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

Get Filesize Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[filesize] get-filesize-shortcode.php:33
WordPress Hooks 2
actionplugins_loadedget-filesize-shortcode.php:30
actioninitget-filesize-shortcode.php:36
Maintenance & Trust

Get Filesize Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedJul 15, 2025
PHP min version5.6
Downloads5K

Community Trust

Rating100/100
Number of ratings3
Active installs200
Developer Profile

Get Filesize Shortcode Developer Profile

ikaring

1 plugin · 200 total installs

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

How We Detect Get Filesize Shortcode

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/get-filesize-shortcode/build/

HTML / DOM Fingerprints

Shortcode Output
No file URL specified!File path is not allowed!File not found!Unable to get file size!
FAQ

Frequently Asked Questions about Get Filesize Shortcode