CVE-2025-12885
MEDIUM
6.4
CVSS 3.1
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 WordPress components
-
Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Plugin · embed-any-documentUp to and including 2.7.10View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- awsmin Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files — Up to and including 2.7.10
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3406443/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/efbdf0f0-6b38-418c-b3fb-396f89ada34f?source=cve
- nvd.nist.gov Official NVD record