SecurityContext

CVE-2022-25148: WP Statistics - SQL Injection

  • Cve: CVE-2022-25148
  • Name: WP Statistics - SQL Injection
  • Description: 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.
  • Impact: Unauthenticated attackers can execute arbitrary SQL queries, leading to data disclosure and potential full database compromise.
  • Remediation: Update to the latest version of WP Statistics plugin.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.8093
  • Epss percentile: 0.9964
  • Assignee: [email protected]
  • Published at: 2022-02-24T19:15:10Z
  • Age in days: 1734
  • Modified at: 2026-06-17T04:33:05Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25148
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Nuclei templates

IdUrl
CVE-2022-25148https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-25148.yaml

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/174482/WordPress-WP-Statistics-13.1.5-SQL-Injection.htmlnvd2022-02-24
https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042nvd2022-02-24

References

UrlSourceTags
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=nvdPatch, Third Party Advisory
http://packetstormsecurity.com/files/174482/WordPress-WP-Statistics-13.1.5-SQL-Injection.htmlnvdExploit, Third Party Advisory, VDB Entry
https://gist.github.com/Xib3rR4dAr/5dbd58b7f57a5037fe461fba8e696042nvdExploit, Third Party Advisory
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25148nvdThird Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-25148.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
veronalabs:wp_statistics<= 13.1.5nonvd/v1/products/veronalabs/wp_statistics

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-02-24
  • Remote: yes
  • Exposed hosts: 83
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template