{"id":"CVE-2021-24509","aliases":["CVE-2021-24509"],"related":[],"kind":"vulnerability","state":"published","title":"Page View Counts < 2.4.9 - Contributor+ Stored XSS","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El plugin de WordPress Page View Count versiones anteriores a 2.4.9, no escapa del parámetro postid del shortcode pvc_stats, permitiendo a usuarios con un rol tan bajo como el de Contributor llevar a cabo ataques de tipo XSS almacenado. Un post hecho por un colaborador tendría que ser aprobado por un administrador para que el ataque de tipo XSS se desencadene en el frontend, sin embargo, usuarios con mayores privilegios, como el editor, podrían explotar esto sin necesidad de aprobación, e incluso cuando el blog deshabilita la capacidad unfiltered_html","source":"nvd"}],"published":"2021-08-09T10:04:13.000Z","modified":"2026-06-17T03:40:09.340Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"2.4.9","fixed":"2.4.9","status":"affected"}],"vendor":"Unknown","product":"Page View Count","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.4.9"}],"vendor":"a3rev","product":"page_view_count","cpe":"cpe:2.3:a:a3rev:page_view_count:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/06df2729-21da-4c22-ae1e-dda1f15bdf8f","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["apple502j"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24509","url":"https://www.cve.org/CVERecord?id=CVE-2021-24509","licence":"CVE Terms of Use","modified":"2024-08-03T19:35:20.036Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24509","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24509","licence":"Public domain","modified":"2026-06-17T03:40:09.340Z"}],"updatedAt":"2026-11-25T22:58:03.065Z","epss":{"score":0.00624,"percentile":0.51268,"date":"2026-12-01T12:00:22.000Z"}}