
JavaScript Shortcode Security & Risk Analysis
wordpress.org/plugins/javascript-shortcodeAdds a shortcode to allow you to add javascript on any page, post, or customer post type in the editor
Is JavaScript Shortcode Safe to Use in 2026?
Generally Safe
Score 85/100JavaScript Shortcode has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.
The "javascript-shortcode" plugin v1.0 demonstrates a generally strong security posture based on the provided static analysis and vulnerability history. The absence of known CVEs and a clean slate regarding critical or high-severity vulnerabilities over time is a positive indicator. Furthermore, the code analysis shows no dangerous functions, all SQL queries utilize prepared statements, and all identified outputs are properly escaped. There are also no file operations or external HTTP requests to consider, and importantly, no taint analysis revealed any unsanitized paths. This suggests a thoughtful approach to secure coding practices.
However, a significant area of concern lies in the lack of any observed capability checks or nonce checks, despite the presence of a shortcode which serves as an entry point. While the current analysis indicates zero unprotected entry points, the absence of these crucial security mechanisms means that the shortcode's functionality is likely accessible to any user role, potentially exposing it to unauthorized execution if its intended behavior is sensitive or could be misused. The vulnerability history, while currently clean, only reflects past activity and does not guarantee future security. The plugin's strengths lie in its apparent avoidance of common coding pitfalls like SQL injection and cross-site scripting, but the absence of authorization checks on its sole entry point is a notable weakness.
Key Concerns
- Missing capability checks on entry points
- Missing nonce checks on entry points
JavaScript Shortcode Security Vulnerabilities
JavaScript Shortcode Code Analysis
JavaScript Shortcode Attack Surface
Shortcodes 1
WordPress Hooks 1
Maintenance & Trust
JavaScript Shortcode Maintenance & Trust
Maintenance Signals
Community Trust
JavaScript Shortcode Alternatives
Shortcoder — Create Shortcodes for Anything
shortcoder
Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets
Slideshow
slideshow
A shortcode for displaying a slideshow of image attachments for a post.
Hide Text Shortcode
hide-text-shortcode
Shortcode to hide text
Same Height
same-height
Force different parts of your content to the same height. Very useful if you want to present to boxes side by side. Responsive and bootstrap-friendly.
Pym.js Embeds
pym-shortcode
A WordPress block and shortcode for embedding iframes that are responsive horizontally and vertically, using the NPR Visuals Team's Pym.js.
JavaScript Shortcode Developer Profile
4 plugins · 170 total installs
How We Detect JavaScript Shortcode
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/javascript-shortcode/javascript-shortcode.php