CVE-2024-13321: Analyticswp

Critical severity, CVSS 9.8. EPSS: 0.5% chance of exploitation in the next 30 days.

The AnalyticsWP plugin for WordPress is vulnerable to SQL Injection via the 'custom_sql' parameter in all versions up to, and including, 2.0.0 due to insufficient authorization checks on the handle_get_stats() function. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Affected products

Published 2025-03-14. Last modified 2026-06-17.