Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Security & Risk Analysis

wordpress.org/plugins/embed-any-document

Embed PDF, DOC, PPT and XLS documents easily on your WordPress website with the help of Google Docs Viewer or Microsoft Office Online.

50K active installs v2.7.12 PHP + WP 4.0+ Updated Dec 4, 2025
document-viewerembed-documentsembed-pptpdf-viewerword-ppt
95
A · Safe
CVEs total4
Unpatched0
Last CVEDec 17, 2025
Safety Verdict

Is Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Safe to Use in 2026?

Generally Safe

Score 95/100

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files has a strong security track record. Known vulnerabilities have been patched promptly.

4 known CVEsLast CVE: Dec 17, 2025Updated 4mo ago
Risk Assessment

The "embed-any-document" plugin version 2.7.12 demonstrates a mixed security posture. On the positive side, the static analysis reveals good practices in several key areas. The absence of dangerous functions, the exclusive use of prepared statements for SQL queries, and a high percentage of properly escaped output are commendable. Furthermore, the plugin has no known unpatched vulnerabilities, and the static and taint analyses did not reveal any critical or high-severity issues in the current version's code. The attack surface, while including one shortcode, appears to have no unprotected entry points and has a reasonable number of capability checks.

However, concerns arise from the plugin's vulnerability history, which shows a significant number of past medium-severity vulnerabilities, specifically Cross-site Scripting (XSS) and Server-Side Request Forgery (SSRF). The presence of four known CVEs, even if currently patched, indicates a pattern of past security weaknesses that could potentially resurface or have undiscovered variants in future versions. The lack of nonce checks in the static analysis is also a minor concern, although the limited attack surface might mitigate this risk. The fact that the last vulnerability was noted as 2025-12-17 13:41:06 may indicate a future vulnerability or a typo in the data provided; assuming this is a past vulnerability, the important aspect is the history of them.

In conclusion, while version 2.7.12 of "embed-any-document" appears to be in a relatively secure state based on the provided static analysis, its history of medium-severity vulnerabilities, particularly XSS and SSRF, warrants caution. Users should remain vigilant about updates and any future security advisories. The plugin exhibits strengths in secure coding practices for the current version but carries a historical risk profile that necessitates ongoing monitoring.

Key Concerns

  • History of medium severity CVEs (XSS, SSRF)
  • Lack of nonce checks
Vulnerabilities
4

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Security Vulnerabilities

CVEs by Year

1 CVE in 2023
2023
3 CVEs in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
4

4 total CVEs

CVE-2025-12885medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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

Dec 17, 2025 Patched in 2.7.11 (1d)
CVE-2025-60099medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

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

Sep 26, 2025 Patched in 2.7.8 (43d)
CVE-2025-1043medium · 6.4Server-Side Request Forgery (SSRF)

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files <= 2.7.5 - Authenticated (Contributor+) Blind Server-Side Request Forgery via embeddoc Shortcode

Feb 19, 2025 Patched in 2.7.6 (1d)
CVE-2023-23707medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files <= 2.7.1 - Authenticated (Author+) Stored Cross-Site Scripting via SVG files

Mar 14, 2023 Patched in 2.7.2 (315d)
Code Analysis
Analyzed Mar 16, 2026

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
1
69 escaped
Nonce Checks
0
Capability Checks
2
File Operations
1
External Requests
0
Bundled Libraries
0

Output Escaping

99% escaped70 total outputs
Attack Surface

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[embeddoc] awsm-embed.php:103
WordPress Hooks 14
actionmedia_buttonsawsm-embed.php:101
filterthe_contentawsm-embed.php:105
actionwp_loadedawsm-embed.php:110
actionplugins_loadedawsm-embed.php:112
actionwp_enqueue_mediaawsm-embed.php:746
actionadmin_menuawsm-embed.php:747
actionadmin_initawsm-embed.php:748
actionadmin_footerawsm-embed.php:749
filterupload_mimesawsm-embed.php:751
filterwp_handle_upload_prefilterawsm-embed.php:752
actionadmin_initawsm-embed.php:1118
actioninitblocks\document.php:28
actionenqueue_block_assetsblocks\document.php:31
actionenqueue_block_editor_assetsblocks\document.php:33
Maintenance & Trust

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedDec 4, 2025
PHP min version
Downloads1.1M

Community Trust

Rating84/100
Number of ratings92
Active installs50K
Developer Profile

Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files Developer Profile

awsm.in

7 plugins · 100K total installs

78
trust score
Avg Security Score
98/100
Avg Patch Time
115 days
View full developer profile
Detection Fingerprints

How We Detect Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/embed-any-document/css/embed.min.css/wp-content/plugins/embed-any-document/css/settings.min.css/wp-content/plugins/embed-any-document/images/ead-small.png/wp-content/plugins/embed-any-document/images/loading.svg/wp-content/plugins/embed-any-document/js/embed.min.js
Script Paths
/wp-content/plugins/embed-any-document/js/embed.min.js
Version Parameters
embed-any-document/css/embed.min.css?ver=embed-any-document/css/settings.min.css?ver=embed-any-document/js/embed.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
awsm-embedead-document-loadingead-loading-wrapead-loading-mainead-loadingead-loading-foot
HTML Comments
<!-- Embed Any Document WordPress plugin lets you upload and embed your documents easily in your WordPress website without any additional browser plugins like Flash or Acrobat reader. The plugin lets you choose between Google Docs Viewer and Microsoft Office Online to display your documents. --><!-- Embed Any Document Main Class. --><!-- Creates or returns an instance of this class. --><!-- Initializes the plugin by setting localization, hooks, filters, and administrative functions. -->+7 more
Data Attributes
data-mfp-srcdata-target
JS Globals
emebeder.viewersemebeder.heightemebeder.widthemebeder.downloademebeder.textemebeder.provider+11 more
Shortcode Output
<div class="ead-document-wrap" data-ead-attributes="{"viewer" : "", "url" : "", "height" : "
FAQ

Frequently Asked Questions about Embed Any Document – Embed PDF, Word, PowerPoint and Excel Files