{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-6981 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-6981 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6981 is a medium-severity SQL injection vulnerability in veronalabs WSMS (formerly WP SMS) – SMS \u0026 MMS Notifications with OTP and 2FA for WooCommerce, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-6981 and fix it if it is affected.\n\nWhat it is: CVE-2023-6981 is a medium-severity SQL injection vulnerability in veronalabs WSMS (formerly WP SMS) – SMS \u0026 MMS Notifications with OTP and 2FA for WooCommerce, published on 3 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-6981 in the wild and no public exploit code.\n\nAffected product: veronalabs WSMS (formerly WP SMS) – SMS \u0026 MMS Notifications with OTP and 2FA for WooCommerce. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-6981/ (Markdown: https://insights.sbomify.com/CVE-2023-6981/index.md)","id":"CVE-2023-6981","markdown":"https://insights.sbomify.com/CVE-2023-6981/index.md","name":"CVE-2023-6981","record":{"aliases":["GHSA-q2g5-wh6f-x8q9"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"WordPress plugin","requires_auth":"none","summary":"Authenticated attackers can exploit SQL injection in WP SMS plugin to extract database information and achieve reflected cross-site scripting.","user_interaction":"required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Wordfence","cpe":[{"product":"wp_sms","vendor":"veronalabs"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"The WP SMS – Messaging \u0026 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"WP SMS \u003c= 6.5 - Authenticated (Admin+) SQL Injection to Reflected Cross-Site Scripting","id":"CVE-2023-6981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2023"},"n_packages":0,"n_references":3,"next":{"headline":"Cross-site scripting in Display custom fields in the frontend – Post and User Profile Fields","id":"CVE-2023-6982"},"packages":[],"prev":{"headline":"WP SMS \u003c= 6.5 - Cross-Site Request Forgery to Subscriber Deletion","id":"CVE-2023-6980"},"products":["WSMS (formerly WP SMS) – SMS \u0026 MMS Notifications with OTP and 2FA for WooCommerce"],"published":"2024-01-03","related":[{"cvss_score":7.1,"headline":"WordPress WP SMS Plugin \u003c= 6.5.2 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2024-24881","kev_date_added":null,"published":"2024-02-08"},{"cvss_score":7.1,"headline":"WordPress WP SMS Plugin \u003c= 6.1.4 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-32742","kev_date_added":null,"published":"2023-08-30"},{"cvss_score":6.5,"headline":"WordPress WP SMS plugin \u003c= 6.3.4 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2024-25920","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":5.9,"headline":"WordPress WP SMS plugin \u003c= 6.5.1 - Cross Site Scripting (XSS) vulnerability","id":"CVE-2024-34811","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":5.4,"headline":"WP SMS \u003c 5.4.13 - Authenticated Stored Cross-Site Scripting","id":"CVE-2021-24561","kev_date_added":null,"published":"2021-08-23"},{"cvss_score":5.3,"headline":"WordPress WP SMS plugin \u003c= 6.9.3 - Broken Access Control vulnerability","id":"CVE-2024-43331","kev_date_added":null,"published":"2024-08-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["veronalabs"]},"summary":"Authenticated attackers can exploit SQL injection in WP SMS plugin to extract database information and achieve reflected cross-site scripting.","url":"https://insights.sbomify.com/CVE-2023-6981/"}