CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 4
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 prompt
Explain 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
- 9.8CVE-2020-22226phpjabbers fundraising scriptEPSS 1.1%
Stivasoft (Phpjabbers) Fundraising Script v1.0 was discovered to contain a SQL injection vulnerability via the pjActionSetAmount function.
- 9.8CVE-2020-22225phpjabbers fundraising scriptEPSS 1.1%
Stivasoft (Phpjabbers) Fundraising Script v1.0 was discovered to contain a SQL injection vulnerability via the pjActionLoadForm function.
- 9.8CVE-2020-22223phpjabbers fundraising scriptEPSS 1.1%
Stivasoft (Phpjabbers) Fundraising Script v1.0 was discovered to contain a SQL injection vulnerability via the pjActionLoad function.
- 9.8CVE-2021-42670engineers online portal project engineers online portalEPSS 8.4%
A SQL injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the id parameter to the announcements_student.php web page. As a result a malicious user can extract sensitive data from the web server and in some c…
- 9.8CVE-2021-42668engineers online portal project engineers online portalEPSS 4.8%
A SQL Injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the id parameter in the my_classmates.php web page.. As a result, an attacker can extract sensitive data from the web server and in some cases can us…
- 9.8CVE-2021-42667online event booking and reservation system project online event booking and reservation systemEPSS 16%
A SQL Injection vulnerability exists in Sourcecodester Online Event Booking and Reservation System in PHP in event-management/views. An attacker can leverage this vulnerability in order to manipulate the sql query performed. As a result he…
- 8.8CVE-2021-42666engineers online portal project engineers online portalEPSS 4.5%
A SQL Injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the id parameter to quiz_question.php, which could let a malicious user extract sensitive data from the web server and in some cases use this vulnera…
- 9.8CVE-2021-42665engineers online portal project engineers online portalEPSS 5.0%
An SQL Injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the login form inside of index.php, which can allow an attacker to bypass authentication.
- 9.8CVE-2021-41492simple cashiering system project simple cashiering systemEPSS 1.7%
Multiple SQL Injection vulnerabilities exist in Sourcecodester Simple Cashiering System (POS) 1.0 via the (1) Product Code in the pos page in cashiering. (2) id parameter in manage_products and the (3) t paramater in actions.php.
- 9.8CVE-2021-43140oretnom23 simple subscription websiteExploitEPSS 4.8%
SQL Injection vulnerability exists in Sourcecodester. Simple Subscription Website 1.0. via the login.
- 7.5CVE-2020-18263php-cms project php-cmsEPSS 1.0%
PHP-CMS v1.0 was discovered to contain a SQL injection vulnerability in the component search.php via the search parameter. This vulnerability allows attackers to access sensitive database information.
- 9.8CVE-2020-18262ed01-cms project ed01-cmsEPSS 1.0%
ED01-CMS v1.0 was discovered to contain a SQL injection in the component cposts.php via the cid parameter.
- 9.8CVE-2020-24000eyoucmsEPSS 2.4%
SQL Injection vulnerability in eyoucms cms v1.4.7, allows attackers to execute arbitrary code and disclose sensitive information, via the tid parameter to index.php.
- 9.8CVE-2021-43130customer relationship management system project customer relationship management systemEPSS 2.3%
An SQL Injection vulnerability exists in Sourcecodester Customer Relationship Management System (CRM) 1.0 via the username parameter in customer/login.php.
- 6.5CVE-2021-36184fortinet fortiwlmEPSS 1.0%
A improper neutralization of Special Elements used in an SQL Command ('SQL Injection') in Fortinet FortiWLM version 8.6.1 and below allows attacker to disclosure device, users and database information via crafted HTTP requests.
- 9.8CVE-2020-23685vtimecn 188jianzhanEPSS 1.6%
SQL Injection vulnerability in 188Jianzhan v2.1.0, allows attackers to execute arbitrary code and gain escalated privileges, via the username parameter to login.php.
- 8.8CVE-2021-41187dhis2 dhis 2EPSS 0.9%
DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL injection security vulnerability has been found in specific versions of DHIS2. This vulnerability affects the API endpoints for /a…
- 7.2CVE-2021-31849mcafee data loss prevention endpointEPSS 1.1%
SQL injection vulnerability in McAfee Data Loss Prevention (DLP) ePO extension prior to 11.7.100 allows a remote attacker logged into ePO as an administrator to inject arbitrary SQL into the ePO database through the user management section…
- 9.8CVE-2021-26739doyocms project doyocmsEPSS 1.7%
SQL Injection vulnerability in pay.php in millken doyocms 2.3, allows attackers to execute arbitrary code, via the attribute parameter.
- 7.5CVE-2020-28702pybbs project pybbsEPSS 1.1%
A SQL injection vulnerability in TopicMapper.xml of PybbsCMS v5.2.1 allows attackers to access sensitive database information.
- 7.5CVE-2021-25874youphptubeEPSS 1.7%
AVideo/YouPHPTube AVideo/YouPHPTube 10.0 and prior is affected by a SQL Injection SQL injection in the catName parameter which allows a remote unauthenticated attacker to retrieve databases information such as application passwords hashes.
- 8.8CVE-2021-27644apache dolphinschedulerEPSS 1.9%
In Apache DolphinScheduler before 1.3.6 versions, authorized users can use SQL injection in the data source center. (Only applicable to MySQL data source with internal login account password)
- 7.5CVE-2021-41746yonyou turbocrmEPSS 1.3%
SQL Injection vulnerability exists in all versions of Yonyou TurboCRM.via the orgcode parameter in changepswd.php. Attackers can use the vulnerabilities to obtain sensitive database information.
- 9.8CVE-2021-41676pharmacy point of sale system project pharmacy point of sale systemEPSS 1.5%
An SQL Injection vulnerabilty exists in the oretnom23 Pharmacy Point of Sale System 1.0 in the login function in actions.php.
- 9.8CVE-2021-41674e-negosyo system project e-negosyo systemEPSS 1.8%
An SQL Injection vulnerability exists in Sourcecodester E-Negosyo System 1.0 via the user_email parameter in /admin/login.php.
- 8.8CVE-2021-39179dhis2 dhis 2EPSS 1.9%
DHIS 2 is an information system for data capture, management, validation, analytics and visualization. A SQL Injection vulnerability in the Tracker component in DHIS2 Server allows authenticated remote attackers to execute arbitrary SQL co…
- 9.8CVE-2020-21250cszcms csz cmsEPSS 1.2%
CSZ CMS v1.2.4 was discovered to contain an arbitrary file upload vulnerability in the component /core/MY_Security.php.
- 5.9CVE-2021-37808phpgurukul news portalEPSS 1.9%
SQL Injection vulnerabilities exist in https://phpgurukul.com News Portal Project 3.1 via the (1) category, (2) subcategory, (3) sucatdescription, and (4) username parameters, the server response is about (N) seconds delay respectively whi…
- 7.5CVE-2021-37807phpgurukul online shopping portalEPSS 1.5%
An SQL Injection vulneraility exists in https://phpgurukul.com Online Shopping Portal 3.1 via the email parameter on the /check_availability.php endpoint that serves as a checker whether a new user's email is already exist within the datab…
- 5.9CVE-2021-37806phpgurukul vehicle parking management systemEPSS 1.9%
An SQL Injection vulnerability exists in https://phpgurukul.com Vehicle Parking Management System affected version 1.0. The system is vulnerable to time-based SQL injection on multiple endpoints. Based on the SLEEP(N) function payload that…
- 8.1CVE-2021-37803online covid vaccination scheduler system project online covid vaccination scheduler systemEPSS 1.6%
An SQL Injection vulnerability exists in Sourcecodester Online Covid Vaccination Scheduler System 1.0 via the username in lognin.php .
- 9.8CVE-2020-24932razormist complaint management systemEPSS 1.6%
An SQL Injection vulnerability exists in Sourcecodester Complaint Management System 1.0 via the cid parameter in complaint-details.php.
- 9.8CVE-2021-37371online student admission system project online student admission systemEPSS 2.2%
Online Student Admission System 1.0 is affected by an unauthenticated SQL injection bypass vulnerability in /admin/login.php.
- 7.5CVE-2021-26609mangboard mang boardEPSS 1.8%
A vulnerability was found in Mangboard(WordPress plugin). A SQL-Injection vulnerability was found in order_type parameter. The order_type parameter makes a SQL query using unfiltered data. This vulnerability allows a remote attacker to ste…
- 7.2CVE-2021-24774wpchill check \& log emailEPSS 1.3%
The Check & Log Email WordPress plugin before 1.0.3 does not validate and escape the "order" and "orderby" GET parameters before using them in a SQL statement when viewing logs, leading to SQL injections issues
- 7.2CVE-2021-24769permalink manager lite project permalink manager liteEPSS 1.4%
The Permalink Manager Lite WordPress plugin before 2.2.13.1 does not validate and escape the orderby parameter before using it in a SQL statement in the Permalink Manager page, leading to a SQL Injection
- 7.2CVE-2021-24662game-server-status project game-server-statusEPSS 1.3%
The Game Server Status WordPress plugin through 1.0 does not validate or escape the server_id parameter before using it in SQL statement, leading to an Authenticated SQL Injection in an admin page
- 9.8CVE-2021-42258bqe billquick web suiteKEVExploitEPSS 76%
BQE BillQuick Web Suite 2018 through 2021 before 22.0.9.1 allows SQL injection for unauthenticated remote code execution, as exploited in the wild in October 2021 for ransomware installation. SQL injection can, for example, use the txtID (…
- 9.8CVE-2020-28960cct95 chichen tech cmsEPSS 1.6%
Chichen Tech CMS v1.0 was discovered to contain multiple SQL injection vulnerabilities in the file product_list.php via the id and cid parameters.
- 7.2CVE-2020-23045macs cms project macs cmsEPSS 1.1%
Macrob7 Macs Framework Content Management System - 1.14f was discovered to contain a SQL injection vulnerability via the 'roleId' parameter of the `editRole` and `deletUser` modules.
- 9.8CVE-2021-42169simple payroll system with dynamic tax bracket project simple payroll system with dynamic tax bracketEPSS 2.8%
The Simple Payroll System with Dynamic Tax Bracket in PHP using SQLite Free Source Code (by: oretnom23 ) is vulnerable from remote SQL-Injection-Bypass-Authentication for the admin account. The parameter (username) from the login form is n…
- 9.8CVE-2021-38481auvesy versiondogEPSS 1.0%
The scheduler service running on a specific TCP port enables the user to start and stop jobs. There is no sanitation of the supplied JOB ID provided to the function. An attacker may send a malicious payload that can enable the user to exec…
- 8.8CVE-2021-41155enalean tuleapEPSS 1.5%
Tuleap is a Free & Open Source Suite to improve management of software developments and collaboration. In affected versions Tuleap does not sanitize properly user inputs when constructing the SQL query to browse and search revisions in the…
- 8.8CVE-2021-41154enalean tuleapEPSS 1.5%
Tuleap is a Free & Open Source Suite to improve management of software developments and collaboration. In affected versions an attacker with read access to a "SVN core" repository could execute arbitrary SQL queries. The following versions…
- 8.8CVE-2021-41971apache supersetEPSS 1.8%
Apache Superset up to and including 1.3.0 when configured with ENABLE_TEMPLATE_PROCESSING on (disabled by default) allowed SQL injection when a malicious authenticated user sends an http request with a custom URL.
- 7.2CVE-2021-24754mainwp child reportsEPSS 1.4%
The MainWP Child Reports WordPress plugin before 2.0.8 does not validate or sanitise the order parameter before using it in a SQL statement in the admin dashboard, leading to an SQL injection issue
- 8.1CVE-2021-40993arubanetworks clearpass policy managerEPSS 1.1%
A remote SQL injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): ClearPass Policy Manager 6.10.x prior to 6.10.2 - - ClearPass Policy Manager 6.9.x prior to 6.9.7-HF1 - - ClearPass Policy Manager 6.8.x prio…
- 8.8CVE-2021-41148enalean tuleapEPSS 1.5%
Tuleap Open ALM is a libre and open source tool for end to end traceability of application and system developments. Prior to version 11.16.99.173 of Community Edition and versions 11.16-6 and 11.15-8 of Enterprise Edition, an attacker with…
- 7.2CVE-2021-41147enalean tuleapEPSS 1.9%
Tuleap Open ALM is a libre and open source tool for end to end traceability of application and system developments. Prior to version 11.16.99.173 of Community Edition and versions 11.16-6 and 11.15-8 of Enterprise Edition, an attacker with…
- 7.2CVE-2021-40992arubanetworks clearpass policy managerEPSS 1.1%
A remote SQL injection vulnerability was discovered in Aruba ClearPass Policy Manager version(s): ClearPass Policy Manager 6.10.x prior to 6.10.2 - - ClearPass Policy Manager 6.9.x prior to 6.9.7-HF1 - - ClearPass Policy Manager 6.8.x prio…