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.
Published: 2025-12-18
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Upgrade Plugin
AI Analysis

Impact

The Embed Any Document plugin is susceptible to a stored cross‑site scripting flaw that arises from a regex bypass in the sanitize_pdf_src function. This weakness allows an attacker with Contributor level or higher to inject arbitrary JavaScript into embedded PDF, Word, PowerPoint or Excel files. Once injected, the malicious scripts run automatically when any user loads the affected page, potentially leading to session hijacking, defacement or the execution of unauthorized code.

Affected Systems

Affecting the AWSMin Embed Any Document WordPress plugin, all releases up to and including version 2.7.10. Users with Contributor permissions or above can exploit the flaw by editing or adding documents that contain injected scripts.

Risk and Exploitability

The vulnerability has a CVSS score of 6.4, indicating moderate severity, and an EPSS score of less than 1%, suggesting a low overall probability of exploitation at present. It is not listed in the CISA KEV catalog. The most likely attack vector involves legitimate users who possess Contributor privileges leveraging the editor interface to embed a malicious document. An attacker would need authenticated access to the WordPress site and the ability to modify content that includes embedded files. Successful exploitation would grant the attacker persistent code execution on browsers of any visitor who views the compromised page.

Generated by OpenCVE AI on April 21, 2026 at 00:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest release of the Embed Any Document plugin (any version greater than 2.7.10).
  • If an upgrade is not feasible immediately, revoke Contributor rights from users or limit the ability to embed documents entirely.
  • As a short‑term fix, audit existing posts and pages for embedded documents that contain script tags and remove or cleanse them until the plugin is updated.

Generated by OpenCVE AI on April 21, 2026 at 00:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Dec 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 18 Dec 2025 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Awsm
Awsm embed Any Document
Wordpress
Wordpress wordpress
Vendors & Products Awsm
Awsm embed Any Document
Wordpress
Wordpress wordpress

Thu, 18 Dec 2025 02:30:00 +0000

Type Values Removed Values Added
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.
Title Embed Any Document <= 2.7.10 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Awsm Embed Any Document
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:32:02.980Z

Reserved: 2025-11-07T17:24:29.931Z

Link: CVE-2025-12885

cve-icon Vulnrichment

Updated: 2025-12-18T14:47:06.491Z

cve-icon NVD

Status : Deferred

Published: 2025-12-18T03:15:45.680

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-12885

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T00:45:23Z

Weaknesses