4.8medium
StatCounter < 2.0.7 - Admin+ Stored Cross-Site Scripting
- Severity
- 4.8medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.65% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The StatCounter WordPress plugin before 2.0.7 does not sanitise and escape the Project ID and Secure Code settings, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown StatCounter – Free Real Time Visitor Stats | from 2.0.7 before 2.0.7 | CVE List |
| statcounter statcounter | before 2.0.7 | NVD |
All scores
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
The StatCounter WordPress plugin before 2.0.7 does not sanitise and escape the Project ID and Secure Code settings, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed
NVD (es)
El plugin de StatCounter para WordPress versiones anteriores a 2.0.7, no sanea ni escapa de los parámetros Project ID y Secure Code, lo que podría permitir a usuarios con altos privilegios llevar a cabo ataques de tipo Cross-Site Scripting incluso cuando la capacidad unfiltered_html no está permitida.
References
| https://wpscan.com/vulnerability/b00b5037-8ce4-4f61-b2ce-33315b39454e | exploit, third-party-advisory | |
| https://plugins.trac.wordpress.org/changeset/2664933 | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24920 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24920 changed 2026-06-17 | Public domain |