{"summary":{"plugin_name":"wp-piwik","display_name":"Connect Matomo – Analytics Dashboard for WordPress","version":"1.1.12","risk_level":"medium","risk_score":45.0,"risk_factors":{"static_analysis":20,"owasp":5,"attack_surface":5,"superglobal_density":10,"raw_input":5},"last_analyzed":"2026-11-23T12:46:02.494127","removed_from_directory":false,"closed_reason":null,"closed_date":null,"commercial":false,"free_counterpart":null,"active_installs":60000,"rating":90,"num_ratings":95,"tested":"7.0.0","requires":"5.0","requires_php":"False","author":"matomoteam","short_description":"Adds Matomo (former Piwik) statistics to your WordPress dashboard and is also able to add the Matomo Tracking Code to your blog.","tags":["analytics","matomo","statistics","stats","tracking"],"added":"2009-06-04","last_updated":"2026-09-15 10:59pm GMT","metadata_fetched_at":"2026-09-20T08:36:15.384587+00:00","modules_missing":null,"modules_failed":null,"latest_release":"1.1.12"},"security_metrics":{"total_issues":56,"parameters_found":12,"unknown_parameters":0,"headers_accessed":19,"cookies_accessed":1,"wp_hooks":2,"rest_routes":0,"query_vars":0,"shortcode_atts":1,"rest_routes_with_access_patterns":0,"file_upload_parameters":0,"owasp_findings":{"A01":2,"A03":1,"A04":1,"A07":1},"attack_surface_level":"medium","attack_surface_score":14,"tainted_sinks":22,"tainted_sql":0,"tainted_ssrf":0,"tainted_file_ops":0,"auth_bypass_sinks":0,"dangerous_patterns":1},"comparison":{"percentile":52.8,"rank":222686,"peer_count":472174,"better_than":52.8,"risk_distribution":{"medium":115603,"high":176098,"low":88106,"minimal":54299,"critical":38068}},"executive_summary":null,"vulnerabilities":[{"id":"70c62011-a2ce-4a81-8ab8-25acaa26a931","title":"WP-Piwik <= 1.0.4 - Cross-Site Scripting (XSS)","created_at":"2015-10-15T13:57:08.000Z","updated_at":"2020-09-22T07:13:18.000Z","published_date":"2015-10-13T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://github.com/braekling/WP-Piwik/commit/5110bfdb437a9f19b185ba8af33776fcb5e19940"],"cve":["2015-9405"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.0.5","introduced_in":null},{"id":"aaf48d3b-52be-4e6e-9c13-05ba3295d3ff","title":"WP-Piwik <= 1.0.10 - Unauthenticated Stored Cross-Site Scripting (XSS) ","created_at":"2016-09-06T07:25:37.000Z","updated_at":"2019-11-01T09:30:10.000Z","published_date":"2016-09-02T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.pluginvulnerabilities.com/2016/08/29/persistent-cross-site-scripting-xss-vulnerability-in-wp-piwik/","https://plugins.trac.wordpress.org/changeset/1489152/wp-piwik"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.0.10","introduced_in":null},{"id":"19d30053-3d57-4a16-a339-c15c84b5ca32","title":"WP-Matomo Integration (WP-Piwik) < 1.0.27 - Plugin Settings Reset via CSRF","created_at":"2022-02-14T08:38:37.000Z","updated_at":"2022-02-14T08:38:37.000Z","published_date":"2022-02-14T00:00:00.000Z","vuln_type":"CSRF","references":{"url":["https://plugins.trac.wordpress.org/changeset/2674643"]},"verified":true,"poc":null,"description":null,"cvss":null,"fixed_in":"1.0.27","introduced_in":null},{"id":"fbb5cce6-ae4e-449b-9a9f-b13dd40e861d","title":"WP-Piwik < 1.0.28 - Admin+ Stored XSS","created_at":"2023-05-29T10:52:12.000Z","updated_at":"2023-05-29T10:52:12.000Z","published_date":"2023-05-22T00:00:00.000Z","vuln_type":"XSS","references":{"cve":["2023-33211"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.0.28","introduced_in":null},{"id":"0054803b-e3e3-492d-9f32-9423223524e7","title":"WP-Matomo Integration (WP-Piwik) < 1.0.29 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","created_at":"2023-11-24T19:18:58.000Z","updated_at":"2023-12-20T23:30:31.000Z","published_date":"2023-09-21T00:00:00.000Z","vuln_type":"XSS","references":{"url":["https://www.wordfence.com/threat-intel/vulnerabilities/id/faa4f041-4740-4ebb-afb3-10019ce571be"],"cve":["2023-4774"]},"verified":false,"poc":null,"description":null,"cvss":null,"fixed_in":"1.0.29","introduced_in":null}],"recommendations":[{"category":"A01","name":"Broken Access Control","severity":"medium","findings_count":2,"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":["Reachable 'redirect' sink x2 - 2 attacker-reachable 'redirect' sink(s) found by the reachability analyzer","Pattern 'redirect_unvalidated' x1 - wp_redirect with unvalidated user input (1 occurrence(s))"]},{"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 x20 - 20 attacker-reachable 'file_include' sink(s) found by the reachability analyzer"]},{"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 'XDEBUG_SESSION_START' - Authentication-related parameter — verify login flow hardening"]},{"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":{"A01":[{"type":"reachability_sink","sink":"redirect","count":2,"risk":"2 attacker-reachable 'redirect' sink(s) found by the reachability analyzer"},{"type":"pattern_match","pattern":"redirect_unvalidated","count":1,"severity":"high","examples":["classes/WP_Piwik.php:1315"],"risk":"wp_redirect with unvalidated user input (1 occurrence(s))"}],"A03":[{"type":"reachability_sink","sink":"file_include","count":20,"risk":"20 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"}],"A07":[{"type":"parameter","name":"XDEBUG_SESSION_START","locations":{"GET":[{"file":"/plugins/wp-piwik/tags/1.1.12/libs/matomo-php-tracker/MatomoTracker.php","line":2298,"offset":68669,"snippet":"$_GET['XDEBUG_SESSION_START']"},{"file":"/plugins/wp-piwik/tags/1.1.12/libs/matomo-php-tracker/MatomoTracker.php","line":2299,"offset":68756,"snippet":"$_GET['XDEBUG_SESSION_START']"}]},"risk":"Authentication-related parameter — verify login flow hardening"}]}}