CVE Catalog

CVE-2026-116609

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.34%

27th percentile - higher than 27% of all known CVEs

Summary

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. User-supplied attributes are insufficiently escaped and concatenated into a SQL query in fnGetHourlyReportByDateNameTimeZone(). An authenticated attacker with Contributor-level access or above can append additional SQL queries to extract sensitive information from the database.

Risk Assessment

An attacker with a Contributor account can exfiltrate sensitive data from the WordPress database, including user information, credentials, and other confidential records. This can lead to a confidentiality breach and further privilege escalation.

Recommendation

Update the plugin to a version later than 8.8 that contains the fix. Until then, restrict access to the shortcode or disable the plugin if it is not critical.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS