CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2021, page 11
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
- 7.2CVE-2021-24336zavedil flightlogEPSS 1.5%
The FlightLog WordPress plugin through 3.0.2 does not sanitise, validate or escape various POST parameters before using them a SQL statement, leading to SQL injections exploitable by editor and administrator users
- 6.5CVE-2020-36004appcmsEPSS 0.9%
AppCMS 2.0.101 in /admin/download_frame.php has a SQL injection vulnerability which allows attackers to obtain sensitive database information.
- 9.8CVE-2020-35441fangfa fdcmsEPSS 1.1%
FDCMS (aka Fangfa Content Management System) 4.0 contains a front-end SQL injection via Admin/Lib/Action/FloginAction.class.php.
- 7.5CVE-2020-25362online shopping alphaware project online shopping alphawareEPSS 2.1%
The id paramater in Online Shopping Alphaware 1.0 has been discovered to be vulnerable to an Error-Based blind SQL injection in the /alphaware/details.php path. This allows an attacker to retrieve all databases.
- 7.5CVE-2020-24862pharmacy medical store and sale point project pharmacy medical store and sale pointEPSS 2.1%
The catID parameter in Pharmacy Medical Store and Sale Point v1.0 has been found to be vulnerable to a Time-Based blind SQL injection via the /medical/inventories.php path which allows attackers to retrieve all databases.
- 9.8CVE-2021-29089synology photo stationEPSS 1.9%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in thumbnail component in Synology Photo Station before 6.8.14-3500 allows remote attackers users to execute arbitrary SQL commands via unsp…
- 7.2CVE-2021-29090synology photo stationEPSS 1.7%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in PHP component in Synology Photo Station before 6.8.14-3500 allows remote authenticated users to execute arbitrary SQL command via unspeci…
- 8.8CVE-2020-26668bigtreecms bigtree cmsEPSS 1.4%
A SQL injection vulnerability was discovered in /core/feeds/custom.php in BigTree CMS 4.4.10 and earlier which allows an authenticated attacker to inject a malicious SQL query to the applications via the 'Create New Feed' function.
- 9.8CVE-2021-33180synology media serverEPSS 1.0%
Improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability in cgi component in Synology Media Server before 1.8.1-2876 allows remote attackers to execute arbitrary SQL commands via unspecified vector…
- 9.8CVE-2021-24321bold-themes belloEPSS 67%
The Bello - Directory & Listing WordPress theme before 1.6.0 did not sanitise the bt_bb_listing_field_price_range_to, bt_bb_listing_field_now_open, bt_bb_listing_field_my_lng, listing_list_view and bt_bb_listing_field_my_lat parameters bef…
- 9.1CVE-2021-27828in4velocity in4suite erpExploitEPSS 20%
SQL injection in In4Suite ERP 3.2.74.1370 allows attackers to modify or delete data, causing persistent changes to the application's content or behavior by using malicious SQL queries.
- 9.8CVE-2021-33470phpgurukul covid19 testing management systemEPSS 2.3%
COVID19 Testing Management System 1.0 is vulnerable to SQL Injection via the admin panel.
- 8.8CVE-2020-26677vfairsEPSS 0.9%
Any user logged in to a vFairs 3.3 virtual conference or event can perform SQL injection with a malicious query to the API.
- 8.8CVE-2021-30081emlogEPSS 1.0%
An issue was discovered in emlog 6.0.0stable. There is a SQL Injection vulnerability that can execute any SQL statement and query server sensitive data via admin/navbar.php?action=add_page.
- 9.8CVE-2019-12348zzcmsEPSS 1.7%
An issue was discovered in zzcms 2019. SQL Injection exists in user/ztconfig.php via the daohang or img POST parameter.
- 8.8CVE-2020-4990ibm security guardiumEPSS 1.1%
IBM Security Guardium 11.2 is vulnerable to SQL injection. A remote attacker could send specially crafted SQL statements, which could allow the attacker to view, add, modify or delete information in the back-end database. IBM X-Force ID: 1…
- 9.8CVE-2020-25409college management system project college management systemEPSS 1.6%
Projectsworlds College Management System Php 1.0 is vulnerable to SQL injection issues over multiple parameters.
- 9.8CVE-2021-20720kujirahand konawikiEPSS 1.3%
SQL injection vulnerability in the KonaWiki2 versions prior to 2.2.4 allows remote attackers to execute arbitrary SQL commands and to obtain/alter the information stored in the database via unspecified vectors.
- 9.8CVE-2021-31316control-webpanel webpanelEPSS 13%
The unprivileged user portal part of CentOS Web Panel is affected by a SQL Injection via the 'idsession' HTTP POST parameter.
- 8.8CVE-2021-31827progress moveit transferEPSS 1.2%
In Progress MOVEit Transfer before 2021.0 (13.0), a SQL injection vulnerability has been found in the MOVEit Transfer web app that could allow an authenticated attacker to gain unauthorized access to MOVEit Transfer's database. Depending o…
- 9.8CVE-2021-24314boostifythemes gotoEPSS 1.9%
The Goto WordPress theme before 2.1 did not sanitise, validate of escape the keywords GET parameter from its listing page before using it in a SQL statement, leading to an Unauthenticated SQL injection issue
- 7.5CVE-2021-24295cleantalk spam protection\, antispam\, firewallEPSS 5.6%
It was possible to exploit an Unauthenticated Time-Based Blind SQL Injection vulnerability in the Spam protection, AntiSpam, FireWall by CleanTalk WordPress Plugin before 5.153.4. The update_log function in lib/Cleantalk/ApbctWP/Firewall/S…
- 8.8CVE-2021-29053liferayEPSS 1.2%
Multiple SQL injection vulnerabilities in Liferay Portal 7.3.5 and Liferay DXP 7.3 before fix pack 1 allow remote authenticated users to execute arbitrary SQL commands via the classPKField parameter to (1) CommerceChannelRelFinder.countByC…
- 9.8CVE-2021-24285cars-seller-auto-classifieds-script project cars-seller-auto-classifieds-scriptEPSS 15%
The request_list_request AJAX call of the Car Seller - Auto Classifieds Script WordPress plugin through 2.1.0, available to both authenticated and unauthenticated users, does not sanitise, validate or escape the order_id POST parameter bef…
- 7.5CVE-2021-32051hexagon intergraph g\!niusEPSS 2.2%
Hexagon G!nius Auskunftsportal before 5.0.0.0 allows SQL injection via the GiPWorkflow/Service/DownloadPublicFile id parameter.
- 9.8CVE-2021-32615piwigoEPSS 2.2%
Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection.
- 9.8CVE-2020-13873codologic codoforumEPSS 4.9%
A SQL Injection vulnerability in get_topic_info() in sys/CODOF/Forum/Topic.php in Codoforum before 4.9 allows remote attackers (pre-authentication) to bypass the admin page via a leaked password-reset token of the admin. (As an admin, an a…
- 8.8CVE-2020-27246openclinic ga project openclinic gaEPSS 0.8%
An exploitable SQL injection vulnerability exists in ‘listImmoLabels.jsp’ page of OpenClinic GA 5.173.3 application. The immoComment parameter in the ‘listImmoLabels.jsp’ page is vulnerable to authenticated SQL injection. An attacker can m…
- 8.8CVE-2020-27245openclinic ga project openclinic gaEPSS 0.8%
An exploitable SQL injection vulnerability exists in ‘listImmoLabels.jsp’ page of OpenClinic GA 5.173.3 application. The immoBuyer parameter in the ‘listImmoLabels.jsp’ page is vulnerable to authenticated SQL injection. An attacker can mak…
- 8.8CVE-2020-27244openclinic ga project openclinic gaEPSS 0.8%
An exploitable SQL injection vulnerability exists in ‘listImmoLabels.jsp’ page of OpenClinic GA 5.173.3 application. The immoCode parameter in the ‘listImmoLabels.jsp’ page is vulnerable to authenticated SQL injection. An attacker can make…
- 8.8CVE-2020-27243openclinic ga project openclinic gaEPSS 0.8%
An exploitable SQL injection vulnerability exists in ‘listImmoLabels.jsp’ page of OpenClinic GA 5.173.3 application. The immoService parameter in the ‘listImmoLabels.jsp’ page is vulnerable to authenticated SQL injection. An attacker can m…
- 8.8CVE-2020-27242openclinic ga project openclinic gaEPSS 0.8%
An exploitable SQL injection vulnerability exists in ‘listImmoLabels.jsp’ page of OpenClinic GA 5.173.3 application. The immoLocation parameter in the ‘listImmoLabels.jsp’ page is vulnerable to authenticated SQL injection. An attacker can …
- 8.8CVE-2020-27232openclinic ga project openclinic gaEPSS 1.0%
An exploitable SQL injection vulnerability exists in ‘manageServiceStocks.jsp’ page of OpenClinic GA 5.173.3. A specially crafted HTTP request can lead to SQL injection. An attacker can make an authenticated HTTP request to trigger this vu…
- 8.8CVE-2020-27231openclinic ga project openclinic gaEPSS 0.8%
A number of exploitable SQL injection vulnerabilities exists in ‘patientslist.do’ page of OpenClinic GA 5.173.3 application. The findDistrict parameter in ‘‘patientslist.do’ page is vulnerable to authenticated SQL injection. An attacker ca…
- 8.8CVE-2020-27230openclinic ga project openclinic gaEPSS 0.8%
A number of exploitable SQL injection vulnerabilities exists in ‘patientslist.do’ page of OpenClinic GA 5.173.3 application. The findSector parameter in ‘‘patientslist.do’ page is vulnerable to authenticated SQL injection An attacker can m…
- 8.8CVE-2020-27229openclinic ga project openclinic gaEPSS 0.8%
A number of exploitable SQL injection vulnerabilities exists in ‘patientslist.do’ page of OpenClinic GA 5.173.3 application. The findPersonID parameter in ‘‘patientslist.do’ page is vulnerable to authenticated SQL injection. An attacker ca…
- 8.8CVE-2020-27226openclinic ga project openclinic gaEPSS 1.0%
An exploitable SQL injection vulnerability exists in ‘quickFile.jsp’ page of OpenClinic GA 5.173.3. A specially crafted HTTP request can lead to SQL injection. An attacker can make an authenticated HTTP request to trigger this vulnerabilit…
- 8.8CVE-2021-32104open-emr openemrEPSS 1.2%
A SQL injection vulnerability exists (with user privileges) in interface/forms/eye_mag/save.php in OpenEMR 5.0.2.1.
- 8.8CVE-2021-32102open-emr openemrEPSS 1.2%
A SQL injection vulnerability exists (with user privileges) in library/custom_template/ajax_code.php in OpenEMR 5.0.2.1.
- 9.8CVE-2021-32099artica pandora fmsEPSS 13%
A SQL injection vulnerability in the pandora_console component of Artica Pandora FMS 742 allows an unauthenticated attacker to upgrade his unprivileged session via the /include/chart_generator.php session_id parameter, leading to a login b…
- 8.1CVE-2021-1365cisco unified communications manager im and presence serviceEPSS 1.1%
Multiple vulnerabilities in the web-based management interface of Cisco Unified Communications Manager IM & Presence Service could allow an authenticated, remote attacker to conduct SQL injection attacks on an affected system. These vu…
- 8.1CVE-2021-1363cisco unified communications manager im and presence serviceEPSS 1.1%
Multiple vulnerabilities in the web-based management interface of Cisco Unified Communications Manager IM & Presence Service could allow an authenticated, remote attacker to conduct SQL injection attacks on an affected system. These vu…
- 9.8CVE-2020-19114projectworlds online book store project in phpEPSS 1.9%
SQL Injection vulnerability in Online Book Store v1.0 via the publisher parameter to edit_book.php, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-19112projectworlds online book store project in phpEPSS 1.9%
SQL Injection vulnerability in Online Book Store v1.0 via the bookisbn parameter to admin_delete.php, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-19110projectworlds online book store project in phpEPSS 1.6%
SQL Injection vulnerability in Online Book Store v1.0 via the bookisbn parameter to book.php parameter, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-19109projectworlds online book store project in phpEPSS 1.9%
SQL Injection vulnerability in Online Book Store v1.0 via the bookisbn parameter to admin_edit.php, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-19108projectworlds online book store project in phpEPSS 1.9%
SQL Injection vulnerability in Online Book Store v1.0 via the pubid parameter to bookPerPub.php, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-19107projectworlds online book store project in phpEPSS 1.9%
SQL Injection vulnerability in Online Book Store v1.0 via the isbn parameter to edit_book.php, which could let a remote malicious user execute arbitrary code.
- 9.8CVE-2020-15153ampacheEPSS 2.4%
Ampache before version 4.2.2 allows unauthenticated users to perform SQL injection. Refer to the referenced GitHub Security Advisory for details and a workaround. This is fixed in version 4.2.2 and the development branch.
- 9.8CVE-2020-22807vtiger crmEPSS 1.3%
An issue was dicovered in vtiger crm 7.2. Union sql injection in the calendar exportdata feature.