
CodePen Embedded Pens Shortcode Security & Risk Analysis
wordpress.org/plugins/codepen-embedded-pen-shortcodeAllows the use of a special shortcode [codepen_embed] for embedding Pens from CodePen.
Is CodePen Embedded Pens Shortcode Safe to Use in 2026?
Generally Safe
Score 91/100CodePen Embedded Pens Shortcode has a strong security track record. Known vulnerabilities have been patched promptly.
The "codepen-embedded-pen-shortcode" plugin version 1.0.3 exhibits a mixed security posture. On the positive side, static analysis reveals excellent coding practices in several areas. There are no detected dangerous functions, all SQL queries utilize prepared statements, and all detected outputs are properly escaped. Furthermore, there are no file operations or external HTTP requests, which minimizes potential attack vectors. The plugin also has a very small attack surface with only one shortcode and no AJAX handlers or REST API routes exposed without authentication.
However, a significant concern arises from its vulnerability history. The plugin has two known medium-severity vulnerabilities, both related to Cross-Site Scripting (XSS). The fact that these vulnerabilities exist, even if currently unpatched, indicates potential weaknesses in how user-supplied data is handled. The absence of nonce checks and capability checks, while acceptable for a plugin with a minimal attack surface and no apparent direct user input handling that requires strict authorization, could become a problem if the plugin's functionality or input handling were to evolve.
In conclusion, while the current version of "codepen-embedded-pen-shortcode" demonstrates strong secure coding principles in its static analysis, its past XSS vulnerabilities are a notable weakness. Users should be aware of this history and ensure they are running the latest patched version if available, or consider the potential for future vulnerabilities if the plugin's development does not adequately address past issues. The lack of specific authorization checks on its single entry point is a minor concern given its current limited functionality.
Key Concerns
- 2 known medium vulnerabilities (XSS)
- 0 nonce checks
- 0 capability checks
CodePen Embedded Pens Shortcode Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
CodePen Embedded Pens Shortcode <= 1.0.2 - Authenticated (Contributor+) Stored Cross-Site Scripting
CodePen Embedded Pens Shortcode <= 1.0.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
CodePen Embedded Pens Shortcode Code Analysis
Output Escaping
CodePen Embedded Pens Shortcode Attack Surface
Shortcodes 1
WordPress Hooks 2
Maintenance & Trust
CodePen Embedded Pens Shortcode Maintenance & Trust
Maintenance Signals
Community Trust
CodePen Embedded Pens Shortcode Alternatives
No alternatives data available yet.
CodePen Embedded Pens Shortcode Developer Profile
2 plugins · 2K total installs
How We Detect CodePen Embedded Pens Shortcode
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
https://cpwebassets.codepen.io/assets/embed/ei.jsHTML / DOM Fingerprints
codependata-heightdata-theme-iddata-slug-hashdata-default-tabdata-animationsdata-editable+2 more<p class='codepen'The content of the shortcode is escaped HTML and stripped of tags, so it's safe to render directly.