CVE-2026-18558

Embed Any Document <= 2.7.13 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'embeddoc' Shortcode

Published Oct 10, 2026 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
Description
The Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'embeddoc' shortcode in all versions up to, and including, 2.7.13 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.

Analysis

AI-generated

Technical impact

The Embed Any Document plugin is vulnerable to stored cross‑site scripting, allowing an authenticated user with contributor privileges or higher to inject malicious scripts with the 'embeddoc' shortcode. The injected scripts are stored in the database and executed whenever a page containing the shortcode is rendered for any visitor, enabling cookie theft, session hijacking, defacement, or malware delivery to site users.

Affected Systems

Any WordPress site running the Embed Any Document plugin version 2.7.13 or older is impacted. The flaw exists in all releases up to and including 2.7.13 and affects sites that embed PDFs, Word, PowerPoint, or Excel files via the shortcode.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity; the exploit requires the attacker to be authenticated with contributor level access or higher but imposes no special network prerequisites. EPSS data is unavailable, so the exploitation probability is uncertain, and this issue is not listed in CISA KEV. An attacker can fully control the front‑end content and influence end users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Embed Any Document plugin to a version newer than 2.7 content that uses the 'embeddoc' shortcode, especially content added by contributors, to eliminate stored malicious scripts
  • Restrict contributor user roles from adding or editing the shortcode, for example by using a role‑management plugin to revoke the capability to insert 'embeddoc'
  • Review existing posts for injected scripts and manually remove or sanitize any malicious JavaScript content

Generated by OpenCVE AI on October 10, 2026 at 07:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Awsmin
Awsmin embed Any Document – Embed Pdf, Word, Powerpoint And Excel Files
Wordpress-extensions
Wordpress-extensions embed Any Document
Vendors & Products Awsmin
Awsmin embed Any Document – Embed Pdf, Word, Powerpoint And Excel Files
Wordpress-extensions
Wordpress-extensions embed Any Document
Type Values Removed Values Added
Metrics ssvc

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

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 'embeddoc' shortcode in all versions up to, and including, 2.7.13 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.13 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'embeddoc' Shortcode
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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 11, 2026, 12:23 PM
Reserved
Aug 1, 2026, 2:41 PM
Status
Deferred
Published
Oct 10, 2026, 6:16 AM
Modified
Oct 13, 2026, 1:30 PM