BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-24920

MEDIUM 4.8 CVSS 3.1
Published
February 28, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
contact@wpscan.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

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 WordPress components

  • StatCounter – Real Time Visitor Stats, Session Replay & Heatmaps Plugin · official-statcounter-plugin-for-wordpress
    Confirmed match Active
    From 2.0.7 (including) to 2.0.7 (excluding)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Unknown StatCounter – Free Real Time Visitor Stats — From 2.0.7 (including) to 2.0.7 (excluding)
  • statcounter statcounter — Before 2.0.7

References

  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/2664933 Release Notes, Third Party Advisory
  • wpscan.com https://wpscan.com/vulnerability/b00b5037-8ce4-4f61-b2ce-33315b39454e Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record