Javascript CSS Accordion Security & Risk Analysis

wordpress.org/plugins/javascript-css-accordion

Adds an accordion using plain javascript and CSS, not jQuery. Tested on PHP 5 through PHP 8.

0 active installs v0.0.06 PHP + WP 2.5+ Updated Nov 3, 2021
accordionhtml
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Javascript CSS Accordion Safe to Use in 2026?

Generally Safe

Score 85/100

Javascript CSS Accordion has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 4yr ago
Risk Assessment

The "javascript-css-accordion" v0.0.06 plugin exhibits a generally good security posture regarding its attack surface and data handling. There are no detected AJAX handlers, REST API routes, cron events, or file operations, significantly limiting potential entry points for attackers. Furthermore, all identified SQL queries utilize prepared statements, which is an excellent practice for preventing SQL injection vulnerabilities. The absence of external HTTP requests and bundled libraries also minimizes risks associated with external dependencies.

However, the plugin has a notable weakness in output escaping, with only 14% of outputs being properly escaped. This indicates a potential for Cross-Site Scripting (XSS) vulnerabilities if user-supplied or dynamically generated data is not adequately sanitized before being displayed to users. The lack of nonce and capability checks, while not directly tied to entry points in this analysis, could become a concern if new entry points are introduced or if existing ones are repurposed in future updates without proper security considerations.

The plugin's vulnerability history is clean, with no recorded CVEs. This, combined with the static analysis findings, suggests that the core functionality may be secure. However, the limited output escaping remains a concrete concern that needs to be addressed to further strengthen its security. The current version shows a commendable effort in secure coding practices for data persistence and entry points, but the presentation layer needs improvement.

Key Concerns

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

Javascript CSS Accordion Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Javascript CSS Accordion Release Timeline

v0.0.06Current
v0.0.05
Code Analysis
Analyzed Mar 17, 2026

Javascript CSS Accordion Code Analysis

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

Output Escaping

14% escaped7 total outputs
Attack Surface

Javascript CSS Accordion Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[sdjca] javascript-css-accordion.php:133
WordPress Hooks 3
actionwp_headjavascript-css-accordion.php:25
actionwp_footerjavascript-css-accordion.php:86
actioninitjavascript-css-accordion.php:143
Maintenance & Trust

Javascript CSS Accordion Maintenance & Trust

Maintenance Signals

WordPress version tested5.8.13
Last updatedNov 3, 2021
PHP min version
Downloads2K

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Javascript CSS Accordion Developer Profile

shortdark

3 plugins · 200 total installs

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

How We Detect Javascript CSS Accordion

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
sscustom-containersscustom-panelsscustom-hidesscustom-show-blocksscustom-showsscustom-blacksscustom-hover-blacksscustom-left-align+5 more
Data Attributes
onclickidclass
JS Globals
accordionDisplay
Shortcode Output
<div onclick="accordionDisplay('FAQclass="sscustom-btn sscustom-block sscustom-black sscustom-left-align"><span class="FAQ-plus ss-symbol" style="display: inline;">+</span>
FAQ

Frequently Asked Questions about Javascript CSS Accordion