Page View Counts < 2.4.9 - Contributor+ Stored XSS
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
The Page View Count WordPress plugin before 2.4.9 does not escape the postid parameter of pvc_stats shortcode, allowing users with a role as low as Contributor to perform Stored XSS attacks. A post made by a contributor would still have to be approved by an admin to have the XSS triggered in the frontend, however, higher privilege users, such as editor could exploit this without the need of approval, and even when the blog disallows the unfiltered_html capability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Page View Count | 2.4.9 to before 2.4.9 | 2.4.9 | Patch available | CNA |
- Page View Count VendorUnknown Affected 2.4.9 to before 2.4.9 Fixed in 2.4.9 Patch available CNA
Remediation
- Fix · CNA Page View Count (Unknown) Fixed in 2.4.9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24509
- 2026-10-03 Alias added: GHSA-qjp7-r5pf-4fvh
- 2026-11-04 EPSS moved to the 50th–90th percentile
References
More a3rev Page View Count vulnerabilities
- TI-2023-00091 Page View Count < 2.6.1 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
- TI-2022-00358 Page Views Count < 2.4.15 - Unauthenticated SQL Injection CVSS 3.1CRITICAL 9.8
- TI-2025-02460 Page View Count 2.8.0 - 2.8.4 - Missing Authorization to Authenticated (Subscriber+) Limited Options Update CVSS 3.1HIGH 8.1
- TI-2022-19021 WordPress Page View Count plugin <= 2.5.5 - Cross-Site Request Forgery (CSRF) vulnerability CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-24509 · CVE Program
- CVE-2021-24509 · NVD
- FIRST EPSS
- GHSA-qjp7-r5pf-4fvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences