{"summary":{"plugin_name":"pdf-embedder","display_name":"PDF Embedder – PDF Viewer & Embed PDF Files for WordPress","version":"5.0.2","risk_level":"low","risk_score":15.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"superglobal_density":5,"installs_modifier":-5},"last_analyzed":"2026-11-23T11:50:27.863940","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":300000,"rating":94,"num_ratings":530,"tested":"7.1.4","requires":"6.6","requires_php":"7.4","author":"Syed Balkhi","short_description":"Embed PDF files in WordPress posts and pages with a responsive PDF viewer block, live Block Editor preview, and no third-party services.","tags":["block","documents","embed pdf","pdf","pdf viewer"],"added":"2015-01-21","last_updated":"2026-08-14 4:59pm GMT","metadata_fetched_at":"2026-08-16T07:30:59.215087+00:00","modules_missing":null,"modules_failed":null,"latest_release":"5.0.2"},"security_metrics":{"total_issues":3,"parameters_found":16,"unknown_parameters":1,"headers_accessed":0,"cookies_accessed":0,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":0,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A03":1,"A04":1,"A10":1},"attack_surface_level":"medium","attack_surface_score":18,"tainted_sinks":13,"tainted_sql":0,"tainted_ssrf":1,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":83.3,"rank":76050,"peer_count":456131,"better_than":83.3,"risk_distribution":{"medium":112536,"minimal":49958,"high":175250,"low":80570,"critical":37817}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"medium","findings_count":1,"description":"User-supplied data is not validated, filtered, or sanitized by the application","recommendations":["Use $wpdb->prepare() for all database queries — never interpolate or concatenate input","Sanitize all user input with appropriate WordPress functions","Escape output based on context (esc_html, esc_attr, etc.)","Never pass user input to eval(), include/require, or a variable function"],"findings_summary":["Reachable 'file_include' sink x8 - 8 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"category":"A10","name":"Server-Side Request Forgery (SSRF)","severity":"medium","findings_count":1,"description":"Fetching a remote resource without validating the user-supplied URL","recommendations":["Validate user-supplied URLs against an allowlist of hosts before fetching","Use wp_safe_remote_get() rather than wp_remote_get()/cURL for user-influenced URLs","Block requests to internal/loopback/link-local address ranges"],"findings_summary":["Reachable 'ssrf' sink x1 - 1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"]},{"category":"A04","name":"Insecure Design","severity":"low","findings_count":1,"description":"Missing or ineffective control design — e.g. plugin files that perform work when requested directly, bypassing the WordPress bootstrap","recommendations":["Add a `defined('ABSPATH') || exit;` guard to every PHP file so it cannot be requested directly","Move logic out of directly-reachable files into hook callbacks loaded by WordPress","Threat-model unauthenticated entry points during design, not after release"],"findings_summary":["Direct file access: 7 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A03":[{"type":"reachability_sink","sink":"file_include","count":8,"risk":"8 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"}],"A04":[{"type":"direct_file_access","count":7,"risk":"7 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A10":[{"type":"reachability_sink","sink":"ssrf","count":1,"risk":"1 attacker-reachable 'ssrf' sink(s) found by the reachability analyzer"}]}}