CVE-2021-24509
JSON

5.4medium

Page View Counts < 2.4.9 - Contributor+ Stored XSS

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.62% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

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

Product or packageVersionsReported by
Unknown Page View Countfrom 2.4.9 before 2.4.9CVE List
a3rev page_view_countbefore 2.4.9NVD

All scores

NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

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

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24509 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24509 changed 2026-06-17Public domain