WP SMS <= 6.5 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site Scripting

6.1
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2023-6981
CVSS 6.1 (Medium)
Publicly Published January 2, 2024
Last Updated January 3, 2024
Researcher Krzysztof Zając - CERT PL

Description

The WP SMS – Messaging & SMS Notification for WordPress, WooCommerce, GravityForms, etc plugin for WordPress is vulnerable to SQL Injection via the 'group_id' parameter in all versions up to, and including, 6.5 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. 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. This can leveraged to achieve Reflected Cross-site Scripting.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce

Software Type Plugin
Software Slug wp-sms (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.5.1, or a newer patched version
Affected Version
  • <= 6.5
Patched Version
  • 6.5.1

Recent vulnerabilities in WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce

# Title CVE ID CVSS Researchers Date
1 WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce <= 7.2.1 - Authenticated (Subscriber+) Information Exposure CVE-2026-40790 4.3 Jakub Herman April 23, 2026
2 WSMS (formerly WP SMS) – SMS & MMS Notifications with OTP and 2FA for WooCommerce <= 7.1 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2026-25343 4.4 Ali Osman ERBAS (0110m4n) February 10, 2026
3 WP SMS <= 7.0.1 - Missing Authorization CVE-2025-62006 4.3 Denver Jackson October 16, 2025
4 SMS <= 6.9.12 - Authenticated (Administrator+) SQL Injection CVE-2026-28136 4.9 Nguyen Kim Sang June 14, 2025
5 WP SMS <= 6.9.3 - Missing Authorization CVE-2024-43331 5.3 Peng Zhou August 16, 2024
6 WP SMS <= 6.5.1 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-34811 4.4 Dhabaleshwar Das May 13, 2024
7 WP SMS <= 6.6.2 - Cross-Site Request Forgery CVE-2024-30454 4.3 Peng Zhou March 28, 2024
8 WP SMS <= 6.3.4 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2024-25920 6.4 Abu Hurayra (HurayraIIT) February 14, 2024
9 WP SMS <= 6.5.2 - Reflected Cross-Site Scripting via 'page' CVE-2024-24881 6.1 Dimas Maulana February 5, 2024
10 WP SMS <= 6.5.1 - Authenticated (Contributor+) Stored Cross-Site Scripting 6.4 January 12, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation