single shortcode Security & Risk Analysis

wordpress.org/plugins/single-shortcode

[single] shortcode outputs content only if single page is displayed. Useful for hiding table of contents, footnotes, relative links from excerpt.

10 active installs v0.1.1 PHP + WP 2.5+ Updated Sep 11, 2011
excerpthideshortcodesingle-pagesingle-post
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is single shortcode Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 14yr ago
Risk Assessment

Based on the provided static analysis and vulnerability history, the "single-shortcode" plugin v0.1.1 exhibits a strong security posture with no immediate critical vulnerabilities detected. The absence of dangerous functions, SQL queries not using prepared statements, and a lack of file operations or external HTTP requests are all positive indicators. The plugin also demonstrates good practices by having 100% output escaping and 100% of SQL queries using prepared statements.

However, there are notable areas for improvement. The plugin has a total of two entry points (shortcodes) with zero capability checks. This means that anyone, regardless of their user role, can trigger these shortcodes. While the static analysis found no direct evidence of malicious input leading to a vulnerability, the lack of capability checks on shortcode execution presents a significant potential attack vector. The fact that there are no recorded vulnerabilities in its history is a positive sign, suggesting the developers may be diligent or the plugin is not widely used, but it doesn't negate the risks identified in the code's current implementation.

In conclusion, while the "single-shortcode" plugin v0.1.1 is free of known critical flaws and demonstrates good coding practices in areas like SQL and output handling, the absence of capability checks on its shortcodes is a considerable weakness. This oversight significantly increases the risk of unauthorized access or actions if the shortcodes perform sensitive operations. Addressing this by implementing appropriate capability checks for each shortcode should be a priority to improve its overall security.

Key Concerns

  • No capability checks on shortcodes
Vulnerabilities
None known

single shortcode Security Vulnerabilities

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

single 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

single shortcode Attack Surface

Entry Points2
Unprotected0

Shortcodes 2

[single] single-shortcode.php:32
[excerpt] single-shortcode.php:38
WordPress Hooks 1
filterplugin_row_metasingle-shortcode.php:42
Maintenance & Trust

single shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedSep 11, 2011
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

single shortcode Developer Profile

attosoft

2 plugins · 60 total installs

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

How We Detect single shortcode

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
[single]outputs content only if single page is displayed.[/single][excerpt]outputs content only if excerpt is displayed.[/excerpt]
FAQ

Frequently Asked Questions about single shortcode