cve.bz

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

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. 7.2CVE-2020-20692gilacms gila cmsEPSS 1.3%

    GilaCMS v1.11.4 was discovered to contain a SQL injection vulnerability via the $_GET parameter in /src/core/controllers/cm.php.

  2. 9.8CVE-2021-36880stylemixthemes ulistingEPSS 2.1%

    Unauthenticated SQL Injection (SQLi) vulnerability in WordPress uListing plugin (versions <= 2.0.3), vulnerable parameter: custom.

  3. 9.8CVE-2021-24666podlove podcast publisherEPSS 8.9%

    The Podlove Podcast Publisher WordPress plugin before 3.5.6 contains a 'Social & Donations' module (not activated by default), which adds the rest route '/services/contributor/(?P<id>[\d]+), takes an 'id' and 'category' parameters as argum…

  4. 8.8CVE-2021-40309os4ed opensisEPSS 1.8%

    A SQL injection vulnerability exists in the Take Attendance functionality of OS4Ed's OpenSIS 8.0. allows an attacker to inject their own SQL query. The cp_id_miss_attn parameter from TakeAttendance.php is vulnerable to SQL injection. An at…

  5. 9.8CVE-2021-40674wuzhicmsEPSS 1.1%

    An SQL injection vulnerability exists in Wuzhi CMS v4.1.0 via the KeyValue parameter in coreframe/app/order/admin/index.php.

  6. 9.8CVE-2021-24741schiocco support board - chat and help deskEPSS 5.6%

    The Support Board WordPress plugin before 3.3.4 does not escape multiple POST parameters (such as status_code, department, user_id, conversation_id, conversation_status_code, and recipient_id) before using them in SQL statements, leading t…

  7. 8.8CVE-2021-24606offshorewebmaster availability calendarEPSS 1.3%

    The Availability Calendar WordPress plugin before 1.2.1 does not escape the category attribute from its shortcode before using it in a SQL statement, leading to a SQL Injection issue, which can be exploited by any user able to add shortcod…

  8. 7.2CVE-2021-24511dpl product feed on woocommerceEPSS 1.5%

    The fetch_product_ajax functionality in the Product Feed on WooCommerce WordPress plugin before 3.3.1.0 uses a `product_id` POST parameter which is not properly sanitised, escaped or validated before inserting to a SQL statement, leading t…

  9. 8.8CVE-2021-24404wp-board project wp-boardEPSS 4.7%

    The options.php file of the WP-Board WordPress plugin through 1.1 beta accepts a postid parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. This is a time based SQLI and in …

  10. 7.2CVE-2021-24403wpagecontact project wpagecontactEPSS 1.5%

    The Orders functionality in the WordPress Page Contact plugin through 1.0 has an order_id parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. The feature is available to low…

  11. 7.2CVE-2021-24402solvercircle wp icommerceEPSS 4.6%

    The Orders functionality in the WP iCommerce WordPress plugin through 1.1.1 has an `order_id` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection. The feature is available to…

  12. 7.2CVE-2021-24401wp-domain-redirect project wp-domain-redirectEPSS 4.6%

    The Edit domain functionality in the WP Domain Redirect WordPress plugin through 1.0 has an `editid` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  13. 7.2CVE-2021-24400wp-display-users project wp-display-usersEPSS 1.5%

    The Edit Role functionality in the Display Users WordPress plugin through 2.0.0 had an `id` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  14. 7.2CVE-2021-24399ombu the sorterEPSS 1.5%

    The check_order function of The Sorter WordPress plugin through 1.0 uses an `area_id` parameter which is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  15. 7.2CVE-2021-24398webpsilon responsive 3d sliderEPSS 1.5%

    The Add new scene functionality in the Responsive 3D Slider WordPress plugin through 1.2 uses an id parameter which is not sanitised, escaped or validated before being inserted to a SQL statement, leading to SQL injection. This is a time b…

  16. 7.2CVE-2021-24397activemedia microcopyEPSS 1.5%

    The edit functionality in the MicroCopy WordPress plugin through 1.1.0 makes a get request to fetch the related option. The id parameter used is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL inject…

  17. 7.2CVE-2021-24396bestiaweb gseorEPSS 1.5%

    A pageid GET parameter of the GSEOR – WordPress SEO Plugin WordPress plugin through 1.3 is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  18. 9.8CVE-2021-40670wuzhicmsEPSS 1.3%

    SQL Injection vulnerability exists in Wuzhi CMS 4.1.0 via the keywords iparameter under the /coreframe/app/order/admin/card.php file.

  19. 9.8CVE-2021-40669wuzhicmsEPSS 1.3%

    SQL Injection vulnerability exists in Wuzhi CMS 4.1.0 via the keywords parameter under the coreframe/app/promote/admin/index.php file.

  20. 9.1CVE-2021-33701sapEPSS 2.1%

    DMIS Mobile Plug-In or SAP S/4HANA, versions - DMIS 2011_1_620, 2011_1_640, 2011_1_700, 2011_1_710, 2011_1_730, 710, 2011_1_731, 710, 2011_1_752, 2020, SAPSCORE 125, S4CORE 102, 102, 103, 104, 105, allows an attacker with access to highly …

  21. 9.8CVE-2020-21127metinfoEPSS 1.6%

    MetInfo 7.0.0 contains a SQL injection vulnerability via admin/?n=logs&c=index&a=dodel.

  22. 9.8CVE-2020-21121kliqqi cmsEPSS 1.1%

    Pligg CMS 2.0.2 contains a time-based SQL injection vulnerability via the $recordIDValue parameter in the admin_update_module_widgets.php file.

  23. 8.8CVE-2021-23040f5 big-ip advanced firewall managerEPSS 1.0%

    On BIG-IP AFM version 16.0.x before 16.0.1.2, 15.1.x before 15.1.3, 14.1.x before 14.1.4.2, 13.1.x before 13.1.4.1, and all versions of 12.1.x, a SQL injection vulnerability exists in an undisclosed page of the BIG-IP Configuration utility…

  24. 8.8CVE-2021-38176sapEPSS 1.3%

    Due to improper input sanitization, an authenticated user with certain specific privileges can remotely call NZDT function modules listed in Solution Section to execute manipulated query or inject ABAP code to gain access to Backend Databa…

  25. 4.3CVE-2021-33688sap business oneEPSS 0.7%

    SAP Business One allows an attacker with business privileges to execute crafted database queries, exposing the back-end database. Due to framework restrictions, only some information can be obtained.

  26. 9.8CVE-2021-38833apartment visitors management system project apartment visitors management systemEPSS 2.3%

    SQL injection vulnerability in PHPGurukul Apartment Visitors Management System (AVMS) v. 1.0 allows attackers to execute arbitrary SQL statements and to gain RCE.

  27. 8.8CVE-2021-24728cozmoslabs membership \& content restriction - paid member subscriptionsEPSS 1.7%

    The Membership & Content Restriction – Paid Member Subscriptions WordPress plugin before 2.4.2 did not sanitise, validate or escape its order and orderby parameters before using them in SQL statement, leading to Authenticated SQL Injection…

  28. 8.8CVE-2021-24727billminozzi stop bad botsEPSS 1.7%

    The StopBadBots WordPress plugin before 6.60 did not validate or escape the order and orderby GET parameter in some of its admin dashboard pages, leading to Authenticated SQL Injections

  29. 8.8CVE-2021-24726wpsimplebookingcalendar wp simple booking calendarEPSS 1.6%

    The WP Simple Booking Calendar WordPress plugin before 2.0.6 did not escape, validate or sanitise the orderby parameter in its Search Calendars action, before using it in a SQL statement, leading to an authenticated SQL injection issue

  30. 9.8CVE-2021-37422zohocorp manageengine adselfservice plusEPSS 3.4%

    Zoho ManageEngine ADSelfService Plus 6111 and prior is vulnerable to SQL Injection while linking the databases.

  31. 7.5CVE-2021-38324smartypantsplugins sp rental managerEPSS 1.8%

    The SP Rental Manager WordPress plugin is vulnerable to SQL Injection via the orderby parameter found in the ~/user/shortcodes.php file which allows attackers to retrieve information contained in a site's database, in versions up to and in…

  32. 9.8CVE-2021-38727thedaylightstudio fuel cmsEPSS 1.6%

    FUEL CMS 1.5.0 allows SQL Injection via parameter 'col' in /fuel/index.php/fuel/logs/items

  33. 8.8CVE-2021-38723thedaylightstudio fuel cmsEPSS 1.0%

    FUEL CMS 1.5.0 allows SQL Injection via parameter 'col' in /fuel/index.php/fuel/pages/items

  34. 9.8CVE-2021-40814mypresta customer photo galleryEPSS 1.1%

    The Customer Photo Gallery addon before 2.9.4 for PrestaShop is vulnerable to SQL injection.

  35. 9.8CVE-2020-19853bluecms project bluecmsEPSS 1.1%

    BlueCMS v1.6 contains a SQL injection vulnerability via /ad_js.php.

  36. 8.8CVE-2021-38706cliniccasesEPSS 1.0%

    messages_load.php in ClinicCases 7.3.3 suffers from a blind SQL injection vulnerability, which allows low-privileged attackers to execute arbitrary SQL commands through a vulnerable parameter.

  37. 7.5CVE-2020-7819ntracker usb enterpriseEPSS 1.5%

    A SQL-Injection vulnerability in the nTracker USB Enterprise(secure USB management solution) allows a remote unauthenticated attacker to perform SQL query to access username password and other session related information.

  38. 9.8CVE-2021-38840simple water refilling station management system project simple water refilling station management systemEPSS 2.6%

    SQL Injection can occur in Simple Water Refilling Station Management System 1.0 via the water_refilling/classes/Login.php username parameter.

  39. 7.2CVE-2021-24395geekwebsolution embed youtube videoEPSS 1.5%

    The editid GET parameter of the Embed Youtube Video WordPress plugin through 1.0 is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  40. 7.2CVE-2021-24394easy testimonial manager project easy testimonial managerEPSS 1.5%

    An id GET parameter of the Easy Testimonial Manager WordPress plugin through 1.2.0 is not sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection

  41. 7.2CVE-2021-24393comment highlighter project comment highlighterEPSS 1.5%

    A c GET parameter of the Comment Highlighter WordPress plugin through 0.13 is not properly sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  42. 7.2CVE-2021-24392swiftcrm club-management-softwareEPSS 1.5%

    An id GET parameter of the WordPress Membership SwiftCloud.io WordPress plugin through 1.0 is not properly sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  43. 8.8CVE-2021-24391cashtomer project cashtomerEPSS 1.6%

    An editid GET parameter of the Cashtomer WordPress plugin through 1.0.0 is not properly sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.

  44. 7.2CVE-2021-24390alipay project alipayEPSS 1.5%

    A proid GET parameter of the WordPress支付宝Alipay|财付通Tenpay|贝宝PayPal集成插件 WordPress plugin through 3.7.2 is not sanitised, properly escaped or validated before inserting to a SQL statement not delimited by quotes, leading to SQL injection.

  45. 8.8CVE-2021-24303jiangqie official website mini programEPSS 1.6%

    The JiangQie Official Website Mini Program WordPress plugin before 1.1.1 does not escape or validate the id GET parameter before using it in SQL statements, leading to SQL injection issues

  46. 7.5CVE-2020-20340s-cmsEPSS 1.3%

    A SQL injection vulnerability in the 4.edu.php\conn\function.php component of S-CMS v1.0 allows attackers to access sensitive database information.

  47. 9.8CVE-2021-39379os4ed opensisEPSS 3.7%

    A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application database. A malicious attacker can issue SQL commands to the MySQL (MariaDB) database through the ResetUserInfo.php password_stn_id p…

  48. 9.8CVE-2021-39378os4ed opensisEPSS 23%

    A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application database. A malicious attacker can issue SQL commands to the MySQL (MariaDB) database through the NamesList.php str parameter.

  49. 9.8CVE-2021-39377os4ed opensisEPSS 3.6%

    A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application database. A malicious attacker can issue SQL commands to the MySQL (MariaDB) database through the index.php username parameter.

  50. 9.8CVE-2021-40353os4ed opensisEPSS 2.9%

    A SQL injection vulnerability exists in version 8.0 of openSIS when MySQL or MariaDB is used as the application database. An attacker can then issue the SQL command through the index.php USERNAME parameter. NOTE: this issue may exist becau…