cve.bz

CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 32

Filter

The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

What the weakness is: CWE-89 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses

Related attack patterns (CAPEC): 6
  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to CWE-89, as MITRE names them. Credits.

Ask an AI about CWE-89

Show the promptExplain CWE-89: Improper Neutralization of Special Elements used in an SQL Command and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/89.html and https://cve.bz/cve/cwe/89?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 8.8CVE-2022-0410codepress visitor statisticsEPSS 1.3%

    The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.6 does not sanitise and escape the id parameter before using it in a SQL statement via the refUrlDetails AJAX action, available to any authenticated user, leading to a…

  2. 9.8CVE-2022-0349wpdeveloper notificationxEPSS 34%

    The NotificationX WordPress plugin before 2.3.9 does not sanitise and escape the nx_id parameter before using it in a SQL statement, leading to an Unauthenticated Blind SQL Injection

  3. 7.2CVE-2022-0267adrotate project adrotateEPSS 1.3%

    The AdRotate WordPress plugin before 5.8.22 does not sanitise and escape the adrotate_action before using it in a SQL statement via the adrotate_request_action function available to admins, leading to a SQL injection

  4. 8.8CVE-2021-24952conversiosEPSS 1.3%

    The Conversios.io WordPress plugin before 4.6.2 does not sanitise, validate and escape the sync_progressive_data parameter for the tvcajax_product_sync_bantch_wise AJAX action before using it in a SQL statement, allowing any authenticated …

  5. 7.2CVE-2021-24778wpaffiliatefeed tradetracker-storeEPSS 1.3%

    The test parameter of the xmlfeed in the Tradetracker-Store WordPress plugin before 4.6.60 is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  6. 7.2CVE-2021-24777hotscot contact formEPSS 1.3%

    The view submission functionality in the Hotscot Contact Form WordPress plugin before 1.3 makes a get request with the sub_id parameter which not sanitised, escaped or validated before inserting to a SQL statement, leading to an SQL inject…

  7. 8.1CVE-2021-23214EPSS 1.9%

    When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of…

  8. 9.8CVE-2022-26201victor cms project victor cmsEPSS 1.5%

    Victor CMS v1.0 was discovered to contain a SQL injection vulnerability.

  9. 9.8CVE-2022-25125mingsoft mcmsEPSS 7.0%

    MCMS v5.2.4 was discovered to contain a SQL injection vulnerability via search.do in the file /mdiy/dict/listExcludeApp.

  10. 9.8CVE-2022-23899mingsoft mcmsEPSS 1.1%

    MCMS v5.2.5 was discovered to contain a SQL injection vulnerability via search.do in the file /web/MCmsAction.java.

  11. 9.8CVE-2022-23898mingsoft mcmsEPSS 7.7%

    MCMS v5.2.5 was discovered to contain a SQL injection vulnerability via the categoryId parameter in the file IContentDao.xml.

  12. 7.5CVE-2021-40636os4ed opensisEPSS 1.3%

    OS4ED openSIS 8.0 is affected by SQL Injection in CheckDuplicateName.php, which can extract information from the database.

  13. 7.5CVE-2021-40635os4ed opensisEPSS 1.3%

    OS4ED openSIS 8.0 is affected by SQL injection in ChooseCpSearch.php, ChooseRequestSearch.php. An attacker can inject a SQL query to extract information from the database.

  14. 9.8CVE-2022-26171bank management system project bank management systemEPSS 1.3%

    Bank Management System v1.o was discovered to contain a SQL injection vulnerability via the email parameter.

  15. 9.8CVE-2022-26170simple mobile comparison website project simple mobile comparison websiteEPSS 1.3%

    Simple Mobile Comparison Website v1.0 was discovered to contain a SQL injection vulnerability via the search parameter.

  16. 9.8CVE-2022-26169air cargo management system project air cargo management systemEPSS 1.3%

    Air Cargo Management System v1.0 was discovered to contain a SQL injection vulnerability via the ref_code parameter.

  17. 9.8CVE-2022-25399simple real estate portal system project simple real estate portal systemEPSS 1.2%

    Simple Real Estate Portal System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter.

  18. 9.8CVE-2022-25398auto spare parts management project auto spare parts managementEPSS 1.2%

    Auto Spare Parts Management v1.0 was discovered to contain a SQL injection vulnerability via the user parameter.

  19. 9.8CVE-2022-25396cosmetics and beauty product online store project cosmetics and beauty product online storeEPSS 1.2%

    Cosmetics and Beauty Product Online Store v1.0 was discovered to contain a SQL injection vulnerability via the search parameter.

  20. 9.8CVE-2022-25394medical store management system project medical store management systemEPSS 1.6%

    Medical Store Management System v1.0 was discovered to contain a SQL injection vulnerability via the cid parameter under customer-add.php.

  21. 7.5CVE-2022-25393simple bakery shop management project simple bakery shop managementEPSS 1.2%

    Simple Bakery Shop Management v1.0 was discovered to contain a SQL injection vulnerability via the username parameter.

  22. 8.8CVE-2021-43077fortinet fortiwlmEPSS 0.8%

    A improper neutralization of special elements used in an sql command ('sql injection') in Fortinet FortiWLM version 8.6.2 and below, version 8.5.2 and below, version 8.4.2 and below, version 8.3.2 and below allows attacker to execute unaut…

  23. 7.5CVE-2022-23387taocmsEPSS 1.2%

    An issue was discovered in taocms 3.0.2. This is a SQL blind injection that can obtain database data through the Comment Update field.

  24. 8.8CVE-2022-23380taogogo taocmsEPSS 1.0%

    There is a SQL injection vulnerability in the background of taocms 3.0.2 in parameter id:action=admin&id=2&ctrl=edit.

  25. 9.8CVE-2022-24571car driving school management system project car driving school management systemEPSS 1.7%

    Car Driving School Management System v1.0 is affected by SQL injection in the login page. An attacker can use simple SQL login injection payload to get admin access.

  26. 7.2CVE-2022-23911accesspressthemes ap custom testimonialEPSS 1.5%

    The Testimonial WordPress Plugin WordPress plugin before 1.4.7 does not validate and escape the id parameter before using it in a SQL statement when retrieving a testimonial to edit, leading to a SQL Injection

  27. 9.8CVE-2022-0412templateinvaders ti woocommerce wishlistEPSS 74%

    The TI WooCommerce Wishlist WordPress plugin before 1.40.1, TI WooCommerce Wishlist Pro WordPress plugin before 1.40.1 do not sanitise and escape the item_id parameter before using it in a SQL statement via the wishlist/remove_product REST…

  28. 8.8CVE-2022-0411asgaros forumEPSS 1.5%

    The Asgaros Forum WordPress plugin before 2.0.0 does not sanitise and escape the post_id parameter before using it in a SQL statement via a REST route of the plugin (accessible to any authenticated user), leading to a SQL injection

  29. 7.2CVE-2022-0383ljapps wp review sliderEPSS 1.5%

    The WP Review Slider WordPress plugin before 11.0 does not sanitise and escape the pid parameter when copying a Twitter source, which could allow a high privilege users to perform SQL Injections attacks

  30. 8.8CVE-2021-24864wpscan wp cloudyEPSS 1.2%

    The WP Cloudy, weather plugin WordPress plugin before 4.4.9 does not escape the post_id parameter before using it in a SQL statement in the admin dashboard, leading to a SQL Injection issue

  31. 8.8CVE-2021-24704orange-form project orange-formEPSS 0.6%

    In the Orange Form WordPress plugin through 1.0, the process_bulk_action() function in "admin/orange-form-email.php" performs an unprepared SQL query with an unsanitized parameter ($id). Only admin can access the page that invokes the func…

  32. 9.8CVE-2022-25096home owners collection management system project home owners collection management systemEPSS 2.1%

    Home Owners Collection Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in /members/view_member.php.

  33. 7.5CVE-2022-25149veronalabs wp statisticsEPSS 77%

    The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the IP parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without authentication…

  34. 9.8CVE-2022-25148veronalabs wp statisticsExploitEPSS 81%

    The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_id parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without a…

  35. 9.8CVE-2022-25004hospital\'s patient records management system project hospital\'s patient records management systemEPSS 1.7%

    Hospital Patient Record Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in /admin/doctors/manage_doctor.php.

  36. 9.8CVE-2022-25003hospital\'s patient records management system project hospital\'s patient records management systemEPSS 1.7%

    Hospital Patient Record Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter in /admin/doctors/view_doctor.php.

  37. 7.5CVE-2022-0651veronalabs wp statisticsEPSS 32%

    The WP Statistics WordPress plugin is vulnerable to SQL Injection due to insufficient escaping and parameterization of the current_page_type parameter found in the ~/includes/class-wp-statistics-hits.php file which allows attackers without…

  38. 9.8CVE-2022-22794cybonet pineapp mail secureEPSS 1.0%

    Cybonet - PineApp Mail Relay Unauthenticated Sql Injection. Attacker can send a request to: /manage/emailrichment/userlist.php?CUSTOMER_ID_INNER=1 /admin/emailrichment/userlist.php?CUSTOMER_ID_INNER=1 /manage/emailrichment/usersunlist.php?…

  39. 8.8CVE-2022-24707anuko time trackerExploitEPSS 7.2%

    Anuko Time Tracker is an open source, web-based time tracking application written in PHP. UNION SQL injection and time-based blind injection vulnerabilities existed in Time Tracker Puncher plugin in versions of anuko timetracker prior to 1…

  40. 9.8CVE-2022-25406tongda2000EPSS 1.0%

    Tongda2000 v11.10 was discovered to contain a SQL injection vulnerability in delete_query.php via the DELETE_STR parameter.

  41. 9.8CVE-2022-25405tongda2000EPSS 1.0%

    Tongda2000 v11.10 was discovered to contain a SQL injection vulnerability in change_box.php via the DELETE_STR parameter.

  42. 9.8CVE-2022-25404tongda2000EPSS 1.0%

    Tongda2000 v11.10 was discovered to contain a SQL injection vulnerability in delete.php via the DELETE_STR parameter.

  43. 9.8CVE-2022-25403hospital management system project hospital management systemEPSS 1.6%

    HMS v1.0 was discovered to contain a SQL injection vulnerability via the component admin.php.

  44. 8.8CVE-2022-24407EPSS 4.1%

    In Cyrus SASL 2.1.17 through 2.1.27 before 2.1.28, plugins/sql.c does not escape the password for a SQL INSERT or UPDATE statement.

  45. 7.5CVE-2022-23986phpuploader project phpuploaderEPSS 1.7%

    SQL injection vulnerability in the phpUploader v1.2 and earlier allows a remote unauthenticated attacker to obtain the information in the database via unspecified vectors.

  46. 9.8CVE-2021-44610bloofox bloofoxcmsEPSS 1.4%

    Multiple SQL Injection vulnerabilities exist in bloofoxCMS 0.5.2.1 - 0.5.1 via the (1) URLs, (2) lang_id, (3) tmpl_id, (4) mod_rewrite (5) eta_doctype. (6) meta_charset, (7) default_group, and (8) page group parameters in the settings mode…

  47. 9.8CVE-2021-44567rosariosisExploitEPSS 23%

    An unauthenticated SQL Injection vulnerability exists in RosarioSIS before 7.6.1 via the votes parameter in ProgramFunctions/PortalPollsNotes.fnc.php.

  48. 7.2CVE-2022-0255deliciousbrains database backupEPSS 1.3%

    The Database Backup for WordPress plugin before 2.5.1 does not properly sanitise and escape the fragment parameter before using it in a SQL statement in the admin dashboard, leading to a SQL injection issue

  49. 7.2CVE-2022-0228sygnoos popup builderEPSS 5.2%

    The Popup Builder WordPress plugin before 4.0.7 does not validate and properly escape the orderby and order parameters before using them in a SQL statement in the admin dashboard, which could allow high privilege users to perform SQL injec…

  50. 7.2CVE-2021-4208exportfeedEPSS 1.3%

    The ExportFeed WordPress plugin through 2.0.1.0 does not sanitise and escape the product_id POST parameter before using it in a SQL statement, leading to a SQL injection vulnerability exploitable by high privilege users