CVE-2026-18558: Embed Any Document <= 2.7.13 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'embeddoc' Shortcode
The Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'embeddoc' shortcode in all versions up to, and including, 2.7.13 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
Event History
Frequently Asked Questions
Which WordPress sites are exposed?
Sites using the Awsm Innovations Embed Any Document plugin version 2.7.13 or earlier are affected. Exploitation requires an authenticated WordPress account with Contributor-level permissions or higher.
What does an attacker need to do to exploit this issue?
The attacker must be able to create or modify content containing the embeddoc shortcode. They can inject script into a page, and the script executes when another user accesses that injected page.
What should be prioritized if an immediate update is not possible?
Restrict or review Contributor and higher accounts, especially accounts able to create content using the embeddoc shortcode. Inspect pages and posts created or edited by those users for unexpected shortcode parameters or injected script content.