PT-2021-16031 · WordPress · Page View Count
Apple502J
·
Published
2021-08-09
·
Updated
2021-08-17
·
CVE-2021-24509
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Page View Count WordPress plugin versions prior to 2.4.9
Description
The issue allows users with a role as low as Contributor to perform Stored XSS attacks due to the lack of escaping of the
postid parameter in the pvc stats shortcode. For contributors, a post would need to be approved by an admin to trigger the XSS in the frontend. However, higher privilege users, such as editors, could exploit this without needing approval, even when the blog disallows the unfiltered html capability.Recommendations
For versions prior to 2.4.9, update to version 2.4.9 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
pvc stats shortcode to minimize the risk of exploitation. Avoid using the postid parameter in the affected shortcode until the issue is resolved.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Page View Count