Skip to content

CVE-2026-116609 WP Visitor Statistics (Real Time Traffic) <= 8.8 - Authenticated (Contributor+) SQL Injection via 'from' Shortcode Attribute

MediumCVSS 6.5 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPWordPress

Description

The WP Visitor Statistics (Real Time Traffic) plugin for WordPress is vulnerable to SQL Injection via the 'from' (and sibling 'to'/'first'/'second') shortcode attribute of the [wsm_showTrafficStatsList] shortcode in versions up to, and including, 8.8 This is due to insufficient escaping on the user-supplied attribute and lack of sufficient preparation on the existing SQL query: shortcode_atts() returns attacker-supplied shortcode attributes verbatim (WP core performs no sanitization), only $atts['id'] is re-sanitized afterward, and the raw value is then concatenated into a double-quoted SQL string literal inside fnGetHourlyReportByDateNameTimeZone() (includes/wsm_db.php:1449) and executed via $wpdb->get_results(). This makes it possible for authenticated attackers, with Contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
osamaesh WP Visitor Statistics (Real Time Traffic) <= 8.8 after 8.8 Fixed
wordpress wp-stats-manager(WordPress) < 8.9 8.9 Fixed

Affected products

ProductAffected versionsFixed in
wordpress wp-stats-manager(WordPress) < 8.9 8.9
osamaesh WP Visitor Statistics (Real Time Traffic) <= 8.8 No fix listed

References