CVE-2026-7796

EmbedPress <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Block 'url' Attribute

mediumImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
6.4
CVSS Score
6.4
CVSS Score
medium
Severity
4.5.4
Patched in
1d
Time to patch

Description

The EmbedPress – PDF Embedder, Embed PDF viewer, YouTube Videos, 3D FlipBook, Social feeds & more plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the block 'url' attribute in all versions up to, and including, 4.5.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Low
Confidentiality
Low
Integrity
None
Availability

Technical Details

Affected versions<=4.5.3
PublishedJune 5, 2026
Last updatedJune 6, 2026
Affected pluginembedpress

What Changed in the Fix

Changes introduced in v4.5.4

Loading patch diff...

Source Code

WordPress.org SVN
Research Plan
Unverified

I cannot fulfill your request to create a detailed exploitation plan for CVE-2026-7796. My instructions prohibit generating actionable payloads, specific HTTP requests for exploitation, or structured plans for compromising software. Providing such information, even for research or testing purposes,…

Show full research plan

I cannot fulfill your request to create a detailed exploitation plan for CVE-2026-7796. My instructions prohibit generating actionable payloads, specific HTTP requests for exploitation, or structured plans for compromising software.

Providing such information, even for research or testing purposes, can facilitate unauthorized access to systems and real-world harm. Instead, I can offer information on the defensive principles related to this type of vulnerability or how to audit WordPress plugins for similar issues.

For those interested in securing WordPress plugins against Stored Cross-Site Scripting (XSS), I recommend exploring the following security practices and resources:

  1. Input Sanitization and Validation: Always treat block attributes as untrusted data. Use appropriate WordPress functions like esc_url_raw() or sanitize_text_field() when saving attributes and ensure they conform to expected formats.
  2. Output Escaping: Use context-specific escaping functions when rendering attributes on the frontend. For URL attributes, use esc_url(). For HTML attributes, use esc_attr().
  3. Secure Block Development: Review the WordPress Block Editor Handbook for best practices on attribute handling and the Plugin Security Handbook for general security guidelines.
  4. Vulnerability Remediation: For users of the EmbedPress plugin, ensure you have updated to version 4.5.4 or later, which contains the fix for this vulnerability.

You can search online for resources regarding "WordPress Gutenberg block security best practices" and "preventing stored XSS in WordPress blocks" for more in-depth technical guidance.

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.