Embed PDF with Smallpdf Security & Risk Analysis

wordpress.org/plugins/embed-pdf-by-smallpdf

Embed PDF by Smallpdf is a free and secure plugin that allows you to embed PDF documents directly into your posts and pages. No API keys are required.

0 active installs v1.0.1 PHP 7.4+ WP 6.5+ Updated Nov 14, 2024
documentembed-pdfpdfpdf-viewersmallpdf
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Embed PDF with Smallpdf Safe to Use in 2026?

Generally Safe

Score 92/100

Embed PDF with Smallpdf has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The plugin "embed-pdf-by-smallpdf" v1.0.1 exhibits a strong security posture based on the provided static analysis. The code demonstrates good practices by avoiding dangerous functions, utilizing prepared statements for all SQL queries, and ensuring proper output escaping. The absence of file operations and external HTTP requests further reduces potential attack vectors. Furthermore, the plugin has no recorded vulnerability history, indicating a lack of past security issues and a potentially stable codebase.

However, there are some areas that, while not immediately exploitable based on the given data, could represent potential future risks or indicate a lack of comprehensive security testing. The presence of a shortcode as an entry point, despite having no explicit authentication or capability checks mentioned, could be a concern if its functionality is not inherently safe or if it relies on insecure external resources. The lack of nonce checks and capability checks across all entry points also suggests a potential gap in defending against CSRF and privilege escalation attacks, although the current attack surface is minimal. The zero taint analysis results are positive but do not negate the need for careful input validation on any data processed by the shortcode.

In conclusion, "embed-pdf-by-smallpdf" v1.0.1 appears to be a secure plugin with a clean history and good coding practices. The primary areas for improvement lie in ensuring all entry points, including shortcodes, have robust authentication and capability checks, and that comprehensive taint analysis is performed to identify any potential vulnerabilities related to input sanitization. The current lack of known vulnerabilities and strong adherence to secure coding principles contribute to a generally positive risk assessment.

Key Concerns

  • Shortcode without auth/permission checks
  • No nonce checks on entry points
  • No capability checks on entry points
Vulnerabilities
None known

Embed PDF with Smallpdf Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Embed PDF with Smallpdf Release Timeline

v1.0.0
Code Analysis
Analyzed Mar 17, 2026

Embed PDF with Smallpdf Code Analysis

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

Output Escaping

100% escaped3 total outputs
Attack Surface

Embed PDF with Smallpdf Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[pdf] includes\class-embed-pdf-by-smallpdf.php:18
WordPress Hooks 6
actionplugins_loadedembed-pdf-by-smallpdf.php:50
actioninitincludes\class-embed-pdf-by-smallpdf.php:13
actionenqueue_block_assetsincludes\class-embed-pdf-by-smallpdf.php:14
actionenqueue_block_editor_assetsincludes\class-embed-pdf-by-smallpdf.php:15
actionplugins_loadedincludes\class-embed-pdf-by-smallpdf.php:16
actionwp_enqueue_scriptsincludes\class-embed-pdf-by-smallpdf.php:17
Maintenance & Trust

Embed PDF with Smallpdf Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedNov 14, 2024
PHP min version7.4
Downloads973

Community Trust

Rating0/100
Number of ratings0
Active installs0
Developer Profile

Embed PDF with Smallpdf Developer Profile

Smallpdf

1 plugin · 0 total installs

88
trust score
Avg Security Score
92/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Embed PDF with Smallpdf

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/embed-pdf-by-smallpdf/build/blocks/embed-pdf/index.js/wp-content/plugins/embed-pdf-by-smallpdf/build/blocks/embed-pdf/index.css
Script Paths
https://smallpdf.com/api/embed-widget.js
Version Parameters
embed-pdf-by-smallpdf/build/blocks/embed-pdf/index.js?ver=embed-pdf-by-smallpdf/build/blocks/embed-pdf/index.css?ver=

HTML / DOM Fingerprints

CSS Classes
smallpdf-widget-wrappersmallpdf-widget
Data Attributes
data-pdf-url
JS Globals
embedPdfBySmallpdf
Shortcode Output
<div class="smallpdf-widget-wrapper"><div style="width:100%; height:px;" class="smallpdf-widget" data-pdf-url="
FAQ

Frequently Asked Questions about Embed PDF with Smallpdf