{"id":"CVE-2021-24340","aliases":["EUVD-2021-11253","GHSA-9mj4-xv45-qwq2"],"status":"published","title":"WP Statistics \u003c 13.0.8 - Unauthenticated SQL Injection","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.29776,"percentile":0.98213,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2021-06-07T10:49:50Z","modified":"2026-10-24T10:30:15Z","exploits":[{"source":"nuclei","id":"CVE-2021-24340","title":"WordPress Statistics \u003c13.0.8 - Blind SQL Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24340.yaml"}],"products":[{"vendor":"veronalabs","product":"wp statistics"},{"vendor":"veronalabs","product":"wp_statistics"}],"references":[{"url":"https://wpscan.com/vulnerability/d2970cfb-0aa9-4516-9a4b-32971f41a19c","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://www.wordfence.com/blog/2021/05/over-600000-sites-impacted-by-wp-statistics-patch/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24340"},{"url":"https://github.com/advisories/GHSA-9mj4-xv45-qwq2"}],"sources":{"cve":[{"id":"CVE-2021-24340","title":"WP Statistics \u003c 13.0.8 - Unauthenticated SQL Injection","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","status":"published","published":"2021-06-07T10:49:50Z","modified":"2024-08-03T19:28:23.425Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:33:04.679189Z"}],"euvd":[{"id":"EUVD-2021-11253","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","status":"published","published":"2021-06-07T10:49:50Z","modified":"2024-08-03T19:28:23Z","updated_at":"2026-11-03T03:24:57.947294Z"}],"ghsa":[{"id":"GHSA-9mj4-xv45-qwq2","title":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function...","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","status":"published","published":"2022-05-24T19:04:15Z","modified":"2023-01-29T05:06:55Z","cwes":["CWE-89"],"updated_at":"2026-11-02T14:46:07.317218Z"}],"nvd":[{"id":"CVE-2021-24340","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","status":"published","published":"2021-06-07T11:15:16.677Z","modified":"2026-06-17T03:39:51.677Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"CVE-2021-24340","description":"The WP Statistics WordPress plugin before 13.0.8 relied on using the WordPress esc_sql() function on a field not delimited by quotes and did not first prepare the query. Additionally, the page, which should have been accessible to administrator only, was also available to any visitor, including unauthenticated ones.","status":"published","published":"2021-06-07T11:15:16.677Z","modified":"2026-10-24T10:30:15.459569452Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:18.778776Z"}]}}
