{"id":"CVE-2021-24509","state":"PUBLISHED","title":"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.","publishedAt":"2021-08-09T10:04:13.000Z","updatedAt":"2024-08-03T19:35:20.036Z","severity":null,"assigner":"WPScan","products":["Unknown Page View Count"],"affected":[{"vendor":"Unknown","product":"Page View Count","versions":[{"version":"2.4.9","status":"affected","lessThan":"2.4.9","versionType":"custom"}]}],"references":["https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24509.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24509","state":"PUBLISHED","datePublished":"2021-08-09T10:04:13.000Z","dateUpdated":"2024-08-03T19:35:20.036Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2021-01-14T00:00:00.000Z"},"containers":{"cna":{"title":"Page View Counts < 2.4.9 - Contributor+ Stored XSS","descriptions":[{"lang":"en","value":"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":[{"vendor":"Unknown","product":"Page View Count","versions":[{"version":"2.4.9","status":"affected","lessThan":"2.4.9","versionType":"custom"}]}],"references":[{"url":"https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","dateUpdated":"2021-08-09T10:04:12.000Z","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81"},"credits":[{"lang":"en","value":"apple502j"}],"source":{"discovery":"UNKNOWN"},"x_generator":"WPScan CVE Generator","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"contact@wpscan.com","ID":"CVE-2021-24509","STATE":"PUBLIC","TITLE":"Page View Counts < 2.4.9 - Contributor+ Stored XSS"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Page View Count","version":{"version_data":[{"version_affected":"<","version_name":"2.4.9","version_value":"2.4.9"}]}}]},"vendor_name":"Unknown"}]}},"credit":[{"lang":"eng","value":"apple502j"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":"WPScan CVE Generator","problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f","refsource":"MISC","url":"https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:35:20.036Z"}}]}}}