# CVE-2022-4761: Post Views Count <= 3.0.2 - Contributor+ Stored XSS in Shortcode

- Severity: Medium 6.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-21T08:50:44.527Z
- Modified: 2026-06-17T05:21:46.057Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: WPScan

## Description

The Post Views Count WordPress plugin through 3.0.2 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

(As written by CVE List.)

## Affected

- Unknown Post Views Count (Support caching plugins!): up to 3.0.2
- post_views_count_project post_views_count: up to 3.0.2

## Every score

- CISA-ADP: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://wpscan.com/vulnerability/ad163020-8b9c-42cb-a55f-b137b224bafb> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2022-4761](https://www.cve.org/CVERecord?id=CVE-2022-4761), CVE Terms of Use, modified 2025-03-12
- NVD: [CVE-2022-4761](https://nvd.nist.gov/vuln/detail/CVE-2022-4761), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4761 · Whole record: https://cve.day/CVE-2022-4761.json · Rebuilt by cve.day 2026-11-25T22:58:18.728Z
