Skip to content
OpenAdvisories
Medium · 6.4 CVE-2025-12885 EUVD-2025-204022GHSA-38q3-29hj-9w26

Embed Any Document <= 2.7.10 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Dec 18, 2025 · Updated Apr 8, 2026 · Assigned by Wordfence

Description

The Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the sanitize_pdf_src function regex bypass in all versions up to, and including, 2.7.10 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 products

VendorProductAffectedFixed
awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files ≤ 2.7.10 —

References