CVE-2026-7796: EmbedPress <= 4.5.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Block 'url' Attribute
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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
EmbedPressfrom your environment.Uninstall the EmbedPress plugin if it is not required.
- Configuration
Disable the EmbedPress block or remove/disable its 'url' attribute to prevent contributors from injecting scripts. If the plugin provides no setting, remove the block via WordPress block restrictions (e.g., allowed_block_types) or other site-specific filters.
EmbedPress block 'url' attribute enabled = false - Compensating control
Restrict content creation and editing to trusted users: limit Contributor+ roles from adding or editing EmbedPress blocks (adjust role/capability settings), and deploy content filtering or a WAF to block inline script tags or likely XSS payloads in page content.
- Operational
Audit existing posts and pages for embedded malicious scripts (particularly in EmbedPress blocks) and remove any injected payloads; restore affected content from clean backups and review recent contributor activity for suspicious changes.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-7796?
CVE-2026-7796 has a medium severity score of 6.4.
What is the risk of CVE-2026-7796?
CVE-2026-7796 has an associated risk level of 39.
How do I fix CVE-2026-7796?
To fix CVE-2026-7796, update EmbedPress to version 4.5.4 or later.
What type of vulnerability is CVE-2026-7796?
CVE-2026-7796 is a Stored Cross-Site Scripting (XSS) vulnerability.
Which versions of EmbedPress are affected by CVE-2026-7796?
CVE-2026-7796 affects all versions of EmbedPress up to and including 4.5.3.