Code Embed Security & Risk Analysis

wordpress.org/plugins/simple-embed-code

Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML) in your posts and pages.

10K active installs v2.5.2 PHP 7.4+ WP 4.6+ Updated Mar 15, 2026
codecssembedhtmljavascript
95
A · Safe
CVEs total4
Unpatched0
Last CVEMar 17, 2026
Safety Verdict

Is Code Embed Safe to Use in 2026?

Generally Safe

Score 95/100

Code Embed has a strong security track record. Known vulnerabilities have been patched promptly. It's a solid choice for most WordPress installations.

4 known CVEsLast CVE: Mar 17, 2026Updated 2mo ago
Risk Assessment

The 'simple-embed-code' plugin v2.5.2 presents a mixed security profile. On the positive side, the static analysis reveals an exceptionally small attack surface, with no identified AJAX handlers, REST API routes, shortcodes, or cron events. Furthermore, all observed SQL queries utilize prepared statements, and the majority of output is properly escaped, indicating good development practices for preventing common vulnerabilities like XSS and SQL injection within the current code. The presence of nonce and capability checks, though limited, is also a positive sign.

However, the plugin's vulnerability history is a significant concern. With three known medium-severity CVEs, including SSRF, XSS, and Uncontrolled Resource Consumption, the plugin has demonstrated a pattern of introducing security flaws. While none of these are currently unpatched, the recurrence of such issues, particularly SSRF and XSS, suggests potential weaknesses in input validation or handling of external resources. The external HTTP request, though only one, could be a vector if not handled with extreme care, especially given the past SSRF vulnerabilities.

In conclusion, while the current version exhibits improved code hygiene in certain areas, the historical vulnerability record necessitates caution. The lack of a large attack surface is a strength, but the past patterns of SSRF and XSS, even if medium severity, combined with the single external HTTP request, suggest a need for ongoing vigilance and thorough review of any new vulnerabilities discovered for this plugin.

Key Concerns

  • Medium severity vulnerabilities in history
  • Potential for SSRF/XSS based on history
  • One external HTTP request
Vulnerabilities
4 published

Code Embed Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
2 CVEs in 2024
2024
1 CVE in 2026
2026
Patched Has unpatched

Severity Breakdown

Medium
4

4 total CVEs

CVE-2026-2512medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Code Embed <= 2.5.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom Fields

Mar 17, 2026 Patched in 2.5.2 (2d)
CVE-2024-10814medium · 6.4Server-Side Request Forgery (SSRF)

Code Embed <= 2.5 - Authenticated (Contributor+) Server-Side Request Forgery

Nov 8, 2024 Patched in 2.5.1 (1d)
CVE-2024-8804medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Code Embed <= 2.4 - Authenticated (Contributor+) Stored Cross-Site Scripting

Oct 3, 2024 Patched in 2.5 (1d)
CVE-2023-49837medium · 6.5Uncontrolled Resource Consumption

Code Embed <= 2.3.6 - Authenticated(Contributor+) Denial of Service

Dec 5, 2023 Patched in 2.3.7 (49d)
Code Analysis
Analyzed Mar 16, 2026

Code Embed Code Analysis

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

SQL Query Safety

100% prepared6 total queries

Output Escaping

89% escaped71 total outputs
Data Flows · Security
All sanitized

Data Flow Analysis

1 flows
<search-screen> (includes\search-screen.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Code Embed Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 13
filterthe_contentincludes\add-embeds.php:119
filterwidget_contentincludes\add-embeds.php:120
actionwp_enqueue_scriptsincludes\add-scripts.php:22
filterthe_excerptincludes\initialise.php:21
actioninitincludes\initialise.php:61
actionadmin_menuincludes\screens.php:36
filterupdate_post_metadataincludes\secure.php:63
filteradd_post_metadataincludes\secure.php:64
filterupdate_post_metadataincludes\secure.php:70
filteradd_post_metadataincludes\secure.php:71
filterplugin_row_metaincludes\shared.php:42
filterplugin_action_linksincludes\shared.php:68
actionadmin_initincludes\shared.php:119
Maintenance & Trust

Code Embed Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedMar 15, 2026
PHP min version7.4
Downloads516K

Community Trust

Rating88/100
Number of ratings45
Active installs10K
Developer Profile

Code Embed Developer Profile

David Artiss

10 plugins · 11K total installs

93
trust score
Avg Security Score
99/100
Avg Patch Time
8 days
View full developer profile
Detection Fingerprints

How We Detect Code Embed

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/simple-embed-code/css/video-container.min.css
Version Parameters
simple-embed-code/css/video-container.min.css?ver=

HTML / DOM Fingerprints

CSS Classes
ce-video-container
FAQ

Frequently Asked Questions about Code Embed