{"summary":{"plugin_name":"social-photo-feed-widget","display_name":"Widgets for Social Photo Feed","version":"1.8.4","risk_level":"medium","risk_score":37.0,"risk_factors":{"static_analysis":5,"owasp":5,"attack_surface":5,"unauth_ratio":10,"superglobal_density":10,"rest_routes":2},"last_analyzed":"2026-11-23T14:31:58.489166","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":10000,"rating":94,"num_ratings":28,"tested":"7.1.5","requires":"6.2","requires_php":"7.2","author":"Trustindex","short_description":"Instagram Feed Widgets. Display your Instagram feed on your website to increase engagement, sales and SEO.","tags":["Instagram","instagram feed","instagram gallery","instagram photos","Instagram widget"],"added":"2024-03-18","last_updated":"2026-11-19 2:08pm GMT","metadata_fetched_at":"2026-11-22T07:40:23.242011+00:00","modules_missing":[],"modules_failed":[],"latest_release":"1.8.4"},"security_metrics":{"total_issues":14,"parameters_found":20,"unknown_parameters":0,"headers_accessed":1,"cookies_accessed":0,"wp_hooks":2,"rest_routes":4,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":4,"A03":15},"attack_surface_level":"medium","attack_surface_score":30,"tainted_sinks":0,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":0},"comparison":{"percentile":62.2,"rank":188663,"peer_count":499368,"better_than":62.2,"risk_distribution":{"low":100652,"high":177983,"medium":121064,"critical":38800,"minimal":60869}},"executive_summary":null,"vulnerabilities":[],"recommendations":[{"category":"A03","name":"Injection","severity":"critical","findings_count":15,"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":["Parameter 'command' - Parameter name suggests injection sink — verify sanitization","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_GET on echo","phpcs_security: Easy XSS detected because of direct user input with $_SERVER on echo"]},{"category":"A01","name":"Broken Access Control","severity":"high","findings_count":4,"description":"Access control enforces policy such that users cannot act outside of their intended permissions","recommendations":["Add a real permission_callback to every REST route — never '__return_true' for state-changing endpoints","Verify nonces on all wp_ajax_nopriv_ handlers and re-check capabilities server-side","Validate and canonicalize file paths to block traversal on read/write/delete operations","Never trust a user-supplied role/capability — enforce it against the acting user's own permissions"],"findings_summary":["REST route '/get-token' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/submit-data' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/refresh-data' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers","REST route '/sprite' - REST route registered with permission_callback '__return_true' — open to unauthenticated callers"]}],"owasp_findings":{"A01":[{"type":"rest_route","name":"/get-token","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/submit-data","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/refresh-data","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"},{"type":"rest_route","name":"/sprite","risk":"REST route registered with permission_callback '__return_true' — open to unauthenticated callers"}],"A03":[{"type":"parameter","name":"command","locations":{"GET":[{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":57,"offset":1928,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":57,"offset":1953,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":3,"offset":72,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":4,"offset":101,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":13,"offset":383,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":26,"offset":948,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":36,"offset":1445,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":3,"offset":72,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":4,"offset":122,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":20,"offset":873,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":25,"offset":1053,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":42,"offset":1716,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":62,"offset":2784,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":73,"offset":3353,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":91,"offset":4230,"snippet":"$_REQUEST['command']"}],"POST":[{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":57,"offset":1928,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":57,"offset":1953,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":3,"offset":72,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":4,"offset":101,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":13,"offset":383,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":26,"offset":948,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":36,"offset":1445,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":3,"offset":72,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":4,"offset":122,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":20,"offset":873,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":25,"offset":1053,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":42,"offset":1716,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":62,"offset":2784,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":73,"offset":3353,"snippet":"$_REQUEST['command']"},{"file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":91,"offset":4230,"snippet":"$_REQUEST['command']"}]},"risk":"Parameter name suggests injection sink — verify sanitization"},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":207},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":236},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/admin.php","line":236},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_SERVER on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/include/troubleshooting.php","line":33},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":97},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":110},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":129},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/advanced.php","line":197},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":199},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":221},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":269},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/feed-configurator.php","line":292},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/my-posts.php","line":50},{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_GET on echo","file":"/plugins/social-photo-feed-widget/tags/1.8.4/tabs/my-posts.php","line":128}]}}