Add Style To Post Security & Risk Analysis

wordpress.org/plugins/add-style-to-post

Add custom style to a post by shortcode in post's content.

10 active installs v1.0.1 PHP + WP 3.0+ Updated Mar 18, 2014
postshortcodestyle
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Add Style To Post Safe to Use in 2026?

Generally Safe

Score 85/100

Add Style To Post has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 12yr ago
Risk Assessment

The "add-style-to-post" plugin v1.0.1 exhibits a mixed security posture. On the positive side, the plugin demonstrates excellent practices regarding database queries, utilizing prepared statements exclusively and having no recorded vulnerabilities or CVEs in its history. It also has a minimal attack surface with only one shortcode and no AJAX, REST API, or cron entry points that appear unprotected based on the static analysis. Furthermore, the absence of file operations, external HTTP requests, and the lack of known vulnerability types suggest a potentially well-maintained codebase.

However, there are significant areas of concern. The most critical finding is the complete lack of output escaping. With one identified output, the fact that none are properly escaped creates a high risk of Cross-Site Scripting (XSS) vulnerabilities. Additionally, the absence of nonce checks and capability checks, particularly on the single shortcode entry point, means that any user, regardless of their role or permissions, could potentially trigger the shortcode's functionality. While the static analysis didn't report any dangerous functions or critical taint flows, the lack of sanitization and escaping on outputs and the absence of authorization checks on the entry point are serious oversights that could be exploited.

Key Concerns

  • Output escaping is not implemented
  • Missing nonce checks
  • Missing capability checks
Vulnerabilities
None known

Add Style To Post Security Vulnerabilities

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

Add Style To Post Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Add Style To Post Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[style] add-style-to-post.php:66
WordPress Hooks 2
actionplugins_loadedadd-style-to-post.php:42
actionwp_headadd-style-to-post.php:60
Maintenance & Trust

Add Style To Post Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedMar 18, 2014
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings1
Active installs10
Developer Profile

Add Style To Post Developer Profile

Arefly

24 plugins · 2K total installs

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

How We Detect Add Style To Post

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/add-style-to-post/add-style-to-post.php

HTML / DOM Fingerprints

Shortcode Output
[style]
FAQ

Frequently Asked Questions about Add Style To Post