What’s Vulnerable › Vulnerabilities

CVE-2021-24509: Page View Counts < 2.4.9 - Contributor+ Stored XSS

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Page View Count 2.4.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24509 or the next vulnerability affects your stack