7.2high
WP Statistics <= 13.1.5 Unauthenticated Stored Cross-Site Scripting via IP
- Severity
- 7.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 78.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
Description
The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the IP parameter found in the ~/includes/class-wp-statistics-ip.php file which allows attackers to inject arbitrary web scripts onto several pages that execute when site administrators view a sites statistics, in versions up to and including 13.1.5.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WP Statistics WP Statistics | from 13.1.5 up to 13.1.5 | CVE List |
| veronalabs wp_statistics | up to 13.1.5 | NVD |
All scores
| Wordfence | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the IP parameter found in the ~/includes/class-wp-statistics-ip.php file which allows attackers to inject arbitrary web scripts onto several pages that execute when site administrators view a sites statistics, in versions up to and including 13.1.5.
NVD (es)
El plugin WP Statistics de WordPress es vulnerable a un ataque de tipo Cross-Site Scripting debido a un escape y saneo insuficientes del parámetro IP encontrado en el archivo ~/includes/class-wp-statistics-ip.php que permite a atacantes inyectar scripts web arbitrarios en varias páginas que es ejecutado cuando los administradores del sitio visualizan las estadísticas del mismo, en versiones hasta la 13.1.5 incluyéndola
References
| https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail= | patch, third-party-advisory | |
| https://gist.github.com/Xib3rR4dAr/af90cef7867583ab2de4cccea2a8c87d | exploit, third-party-advisory | |
| https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25305 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25305 changed 2025-02-07 | CVE Terms of Use |
| NVD | CVE-2022-25305 changed 2026-06-17 | Public domain |