{"summary":{"plugin_name":"google-sitemap-plugin","display_name":"Sitemap by BestWebSoft – WordPress XML Site Map Page Generator Plugin","version":"3.3.6","risk_level":"medium","risk_score":35.0,"risk_factors":{"static_analysis":10,"owasp":5,"attack_surface":15,"superglobal_density":5},"last_analyzed":"2026-11-23T13:07:33.436545","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":20000,"rating":86,"num_ratings":115,"tested":"7.0","requires":"6.5","requires_php":"False","author":"bestwebsoft","short_description":"Generate and add XML sitemap to WordPress website. Help search engines index your blog.","tags":["add pages to sitemap","add posts to sitemap","add sitemap","google","google sitemap"],"added":"2012-03-26","last_updated":"2026-05-14 5:37pm GMT","metadata_fetched_at":"2026-05-24T13:25:34.641530+00:00","modules_missing":null,"modules_failed":null,"latest_release":null},"security_metrics":{"total_issues":40,"parameters_found":65,"unknown_parameters":2,"headers_accessed":2,"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":{"A02":1,"A03":3,"A04":1,"A07":1,"A08":1},"attack_surface_level":"large","attack_surface_score":67,"tainted_sinks":33,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":2},"comparison":{"percentile":71.5,"rank":122606,"peer_count":429836,"better_than":71.5,"risk_distribution":{"medium":108511,"minimal":42444,"high":173605,"low":68044,"critical":37232}},"executive_summary":null,"vulnerabilities":[{"id":"efd816c3-90d4-40bf-850a-0e4c1a756694","title":"Multiple BestWebSoft Plugins - Authenticated Cross-Site Scripting (XSS)","created_at":"2017-04-13T07:34:05.000Z","updated_at":"2020-09-22T07:19:40.000Z","published_date":"2017-04-12T00:00:00.000Z","description":null,"poc":null,"vuln_type":"XSS","references":{"url":["https://www.defensecode.com/advisories/DC-2017-02-014_50_WordPress_plugins_by_BestWebSoft_Advisory.pdf","http://lists.webappsec.org/pipermail/websecurity_lists.webappsec.org/2017-April/010860.html"],"cve":["2017-18487","2017-18556","2017-18558","2017-18565","2017-18490","2017-18491","2017-18492","2017-18493","2017-18494","2017-18496","2017-18500","2017-18501","2017-18502","2017-18505","2017-18517","2017-18518","2017-18527","2017-18528","2017-18529","2017-18530","2017-18532","2017-18537","2017-18542","2017-18557","2017-18566","2017-18564","2017-18562","2017-18516","2017-18590"]},"cvss":null,"fixed_in":"3.0.8","introduced_in":null}],"recommendations":[{"category":"A03","name":"Injection","severity":"high","findings_count":3,"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":["phpcs_security: Easy XSS detected because of direct user input with $_REQUEST on echo","Reachable 'file_include' sink x31 - 31 attacker-reachable 'file_include' sink(s) found by the reachability analyzer","Pattern 'sqli_interpolated' x2 - Interpolated variable in SQL query string (2 occurrence(s))"]},{"category":"A07","name":"Identification and Authentication Failures","severity":"medium","findings_count":1,"description":"Functions related to a user's identity, authentication, or session management","recommendations":["Enforce strong passwords and rate-limit login attempts","Add MFA/2FA for privileged accounts","Use wp_verify_nonce() and capability checks together — neither alone is sufficient","Audit any authenticate / determine_current_user filter for bypass paths"],"findings_summary":["Parameter 'gglstmp_logout' - Authentication-related parameter — verify login flow hardening"]},{"category":"A08","name":"Software and Data Integrity Failures","severity":"medium","findings_count":1,"description":"Code and infrastructure that does not protect against integrity violations — notably insecure deserialization of attacker-controlled data","recommendations":["Never call unserialize() on attacker-controlled data — use json_decode() instead","If deserialization is unavoidable, pass ['allowed_classes' => false]","Verify integrity (signatures/checksums) of updates and imported data"],"findings_summary":["Reachable 'unserialize' sink x2 - 2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"]},{"category":"A02","name":"Cryptographic Failures","severity":"low","findings_count":1,"description":"Failures related to cryptography which often lead to exposure of sensitive data","recommendations":["Never store passwords or API keys in plain text","Use WordPress options API with encryption for sensitive data","Implement proper key management practices","Use HTTPS for all sensitive data transmission"],"findings_summary":["Parameter 'gglstmp_client_secret' - Sensitive data exposure"]},{"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: 18 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"]}],"owasp_findings":{"A02":[{"type":"parameter","name":"gglstmp_client_secret","locations":{"POST":[{"file":"/plugins/google-sitemap-plugin/tags/3.3.6/includes/class-gglstmp-settings.php","line":331,"offset":13088,"snippet":"$_POST['gglstmp_client_secret']"},{"file":"/plugins/google-sitemap-plugin/tags/3.3.6/includes/class-gglstmp-settings.php","line":331,"offset":13134,"snippet":"$_POST['gglstmp_client_secret']"},{"file":"/plugins/google-sitemap-plugin/tags/3.3.6/includes/class-gglstmp-settings.php","line":332,"offset":13251,"snippet":"$_POST['gglstmp_client_secret']"}]},"risk":"Sensitive data exposure"}],"A03":[{"type":"phpcs_security","message":"Easy XSS detected because of direct user input with $_REQUEST on echo","file":"/plugins/google-sitemap-plugin/tags/3.3.6/bws_menu/class-bws-settings.php","line":301},{"type":"reachability_sink","sink":"file_include","count":31,"risk":"31 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"sqli_interpolated","count":2,"severity":"critical","examples":["google-sitemap-plugin.php:418","google-sitemap-plugin.php:443"],"risk":"Interpolated variable in SQL query string (2 occurrence(s))"}],"A04":[{"type":"direct_file_access","count":18,"risk":"18 plugin file(s) reachable by direct HTTP request, bypassing the WordPress bootstrap — insecure design"}],"A07":[{"type":"parameter","name":"gglstmp_logout","locations":{"POST":[{"file":"/plugins/google-sitemap-plugin/tags/3.3.6/includes/class-gglstmp-settings.php","line":186,"offset":5252,"snippet":"$_POST['gglstmp_logout']"},{"file":"/plugins/google-sitemap-plugin/tags/3.3.6/includes/class-gglstmp-settings.php","line":577,"offset":27246,"snippet":"$_POST['gglstmp_logout']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}],"A08":[{"type":"reachability_sink","sink":"unserialize","count":2,"risk":"2 attacker-reachable 'unserialize' sink(s) found by the reachability analyzer"}]}}