CVE-2021-24509: Page View Counts < 2.4.9 - Contributor+ Stored XSS
The Page View Count WordPress plugin before 2.4.9 does not escape the postid parameter of pvcstats 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 unfilteredhtml capability.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-24509?
CVE-2021-24509 is a vulnerability in the Page View Count WordPress plugin before version 2.4.9 that allows for Stored XSS attacks.
How severe is CVE-2021-24509?
CVE-2021-24509 has a severity rating of 5.4 (medium).
Which software is affected by CVE-2021-24509?
The A3rev Page View Count WordPress plugin version up to 2.4.9 is affected by CVE-2021-24509.
What is the Common Weakness Enumeration (CWE) for CVE-2021-24509?
CVE-2021-24509 is associated with CWE-79, which is the Cross-site Scripting (XSS) vulnerability.
How can I fix CVE-2021-24509?
To fix CVE-2021-24509, update the Page View Count WordPress plugin to version 2.4.9 or later.