{"id":"CVE-2022-25148","published":"2022-02-24T00:00:00Z","modified":"2024-08-03T04:29:01Z","title":"WP Statistics <= 13.1.5 Unauthenticated Blind SQL Injection via current_page_id","vendor":"WP Statistics","product":"WP Statistics","tier":"core","eol":null,"affectedVersions":[{"vendor":"WP Statistics","product":"WP Statistics","versions":[">= 13.1.5, <= 13.1.5"]}],"solutions":{"items":["Update to version 13.1.6 or newer."],"from":"CVE.org CNA","provenance":"source"},"description":{"text":"The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without authentication to inject arbitrary SQL queries to obtain sensitive information, in versions up to and including 13.1.5.","provenance":"source","from":"CVE.org"},"summary":{"text":"The WP Statistics WordPress plugin, up to and including version 13.1.5, contains an SQL injection flaw in the current_page_id parameter handled by its hits class (includes/class-wp-statistics-hits.php), caused by insufficient escaping and parameterisation of that input. An unauthenticated remote attacker can exploit it over the network without user interaction to inject arbitrary SQL queries and retrieve sensitive information from the site's database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:44:54Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.8093,"percentile":0.9964,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042","tags":[]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25148","tags":[]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=","tags":[]},{"url":"http://packetstormsecurity.com/files/174482/WordPress-WP-Statistics-13.1.5-SQL-Injection.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-29891","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-29891","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":51711,"url":"https://www.exploit-db.com/exploits/51711","title":"WP Statistics Plugin 13.1.5 current_page_id - Unauthenticated Time Based SQL Injection (SQLi)","type":"webapps","platform":"php","date":"2023-09-04","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2023-09-04"},"nuclei":[{"id":"CVE-2022-25148","name":"WordPress Plugin WP Statistics <= 13.1.5 - SQL Injection","severity":"critical","path":"http/cves/2022/CVE-2022-25148.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-25148.yaml"}],"first":{"date":"2023-09-04","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/51711"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/174482/WordPress-WP-Statistics-13.1.5-SQL-Injection.html"],"flow":[],"timeline":[{"date":"2022-02-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-25148","provenance":"source"},{"date":"2023-09-04","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-51711)","url":"https://www.exploit-db.com/exploits/51711","provenance":"source"}],"speed":{"daysToPublicExploit":557,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":31.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.93,"detail":"percentile 0.9964"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}