Stored Cross-Site Scripting in Embed Any Document Plugin for WordPress
CVE-2025-12885
6.4MEDIUM
Key Information:
- Vendor
WordPress
- Vendor
- CVE Published:
- 18 December 2025
What is CVE-2025-12885?
The Embed Any Document plugin for WordPress exhibits a vulnerability that allows authenticated users with Contributor-level permissions and above to exploit a flaw in the sanitize_pdf_src function. This flaw arises from inadequate input sanitization and escaping of output, enabling attackers to insert arbitrary web scripts. When executed, these scripts can compromise the integrity of pages viewed by users, leading to undesirable actions or data exposure whenever an affected page is accessed.
Affected Version(s)
Embed Any Document β Embed PDF, Word, PowerPoint and Excel Files * <= 2.7.10