# CVE-2026-4303: WP Visitor Statistics (Real Time Traffic) <= 8.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'height' Shortcode Attribute

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- 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.38%, higher than 24% of CVEs (2026-11-30)
- Published: 2026-04-08T09:25:49.220Z
- Modified: 2026-07-20T20:10:00.110Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The WP Visitor Statistics (Real Time Traffic) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'wsm_showDayStatsGraph' shortcode in all versions up to, and including, 8.4 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

(As written by CVE List.)

## Affected

- osamaesh WP Visitor Statistics (Real Time Traffic): up to 8.4

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/3b6916d3-3944-43a2-8d5e-424f86c753ad?source=cve>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/tags/8.4/includes/wsm_statistics.php#L2392>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/trunk/includes/wsm_init.php#L208>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/tags/8.4/includes/wsm_init.php#L208>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/trunk/includes/wsm_statistics.php#L2392>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/trunk/includes/wsm_statistics.php#L2272>
- <https://plugins.trac.wordpress.org/browser/wp-stats-manager/tags/8.4/includes/wsm_statistics.php#L2272>
- <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3498538%40wp-stats-manager&new=3498538%40wp-stats-manager&sfp_email=&sfph_mail=>

## Sources

- CVE List: [CVE-2026-4303](https://www.cve.org/CVERecord?id=CVE-2026-4303), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-4303](https://nvd.nist.gov/vuln/detail/CVE-2026-4303), Public domain, modified 2026-07-20

---

Page: https://cve.day/CVE-2026-4303 · Whole record: https://cve.day/CVE-2026-4303.json · Rebuilt by cve.day 2026-11-25T22:59:18.269Z
