Skip to content

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

MediumCVSS 6.4 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
WordPress

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files <= 2.7.10 after 2.7.10 Fixed
wordpress embed-any-document(WordPress) < 2.7.11 2.7.11 Fixed

Affected products

ProductAffected versionsFixed in
awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files <= 2.7.10 No fix listed
wordpress embed-any-document(WordPress) < 2.7.11 2.7.11

References