
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-7796 is a Stored Cross-Site Scripting (XSS) vulnerability in the EmbedPress WordPress plugin — which provides PDF embedding, YouTube video embedding, 3D FlipBook, and social feed features — affecting all versions up to and including 4.5.3. The flaw arises from insufficient input sanitization and output escaping of the block url attribute, allowing authenticated attackers with contributor-level access or above to inject arbitrary web scripts into pages. It was published on June 6, 2026, with a CVSS v3.1 base score of 6.4 (Medium) (GitHub Advisory, Wordfence).
The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The root cause lies in the EmbedPress Gutenberg block renderer (EmbedPressBlockRenderer.php) and helper class (Helper.php), which fail to properly sanitize or escape the url attribute before rendering it in page output. An attacker with at minimum contributor-level WordPress access can craft a malicious block containing a JavaScript payload in the url field; this payload is stored server-side and executes in the browsers of any user who subsequently views the affected page. Relevant vulnerable code paths are documented at lines 133 and 1181 of EmbedPressBlockRenderer.php and line 1659 of Helper.php (GitHub Advisory, Wordfence).
Successful exploitation allows an authenticated attacker to persistently inject malicious JavaScript into WordPress pages, which executes in the browsers of all users — including administrators — who visit the compromised page. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions (such as privilege escalation or backdoor installation), and defacement of site content. While availability is not directly impacted, the confidentiality and integrity of user sessions and site data are at risk (GitHub Advisory, Wordfence).
url attribute to a crafted value containing a JavaScript payload (e.g., javascript:/*--></title></style></textarea></script><script>alert(document.cookie)</script>) that bypasses the insufficient sanitization.url attribute values (e.g., values containing <script>, javascript:, or HTML-encoded equivalents).wp_posts or wp_postmeta tables containing EmbedPress block markup with suspicious url attribute values including JavaScript payloads or unexpected external URLs.Site administrators should update the EmbedPress plugin to a version beyond 4.5.3 as soon as a patched release becomes available; the patch changeset is referenced in the WordPress plugin repository (GitHub Advisory). As an interim measure, restrict contributor-level and above access to only fully trusted users, and consider disabling the EmbedPress plugin if it is not actively required. Deploying a Web Application Firewall (WAF) with rules targeting script injection in block URL attributes can provide additional detection and blocking capability (Wordfence).
Wordfence, which assigned and disclosed this CVE, included it in their weekly WordPress vulnerability report for June 1–7, 2026, as part of routine plugin vulnerability tracking (Wordfence Weekly Report). No significant independent researcher commentary, social media discussion, or broader media coverage has been identified for this vulnerability beyond standard aggregator and advisory database entries.
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."