CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection), published in 2022, page 27
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-2022-27985cuppacmsEPSS 6.6%
CuppaCMS v1.0 was discovered to contain a SQL injection vulnerability via /administrator/alerts/alertLightbox.php.
- 9.8CVE-2022-27984cuppacmsEPSS 6.8%
CuppaCMS v1.0 was discovered to contain a SQL injection vulnerability via the menu_filter parameter at /administrator/templates/default/html/windows/right.php.
- 9.8CVE-2022-27299hospital management system project hospital management systemEPSS 1.6%
Hospital Management System v1.0 was discovered to contain a SQL injection vulnerability via the component room.php.
- 8.8CVE-2022-294193xsocializer project 3xsocializerEPSS 0.8%
SQL Injection (SQLi) vulnerability in Don Crowther's 3xSocializer plugin <= 0.98.22 at WordPress possible for users with a low role like a subscriber or higher.
- 9.8CVE-2022-0782donations project donationsEPSS 1.7%
The Donations WordPress plugin through 1.8 does not sanitise and escape the nd_donations_id parameter before using it in a SQL statement via the nd_donations_single_cause_form_validate_fields_php_function AJAX action (available to unauthen…
- 9.8CVE-2022-0769usersultra users ultraEPSS 8.3%
The Users Ultra WordPress plugin through 3.1.0 fails to properly sanitize and escape the data_target parameter before it is being interpolated in an SQL statement and then executed via the rating_vote AJAX action (available to both unauthe…
- 9.8CVE-2022-0693devbunch master elementsEPSS 6.9%
The Master Elements WordPress plugin through 8.0 does not validate and escape the meta_ids parameter of its remove_post_meta_condition AJAX action (available to both unauthenticated and authenticated users) before using it in a SQL stateme…
- 9.8CVE-2022-06575 stars rating funnel project 5 stars rating funnelEPSS 1.7%
The 5 Stars Rating Funnel WordPress Plugin | RRatingg WordPress plugin before 1.2.54 does not properly sanitise, validate and escape lead ids before using them in a SQL statement via the rrtngg_delete_leads AJAX action, available to unauth…
- 8.8CVE-2021-24957advanced page visit counter project advanced page visit counterEPSS 1.3%
The Advanced Page Visit Counter WordPress plugin before 6.1.6 does not escape the artID parameter before using it in a SQL statement in the apvc_reset_count_art AJAX action, available to any authenticated user, leading to a SQL injection
- 8.1CVE-2022-29603universis universis-apiEPSS 1.4%
A SQL Injection vulnerability exists in UniverSIS UniverSIS-API through 1.2.1 via the $select parameter to multiple API endpoints. A remote authenticated attacker could send crafted SQL statements to a vulnerable endpoint (such as /api/stu…
- 9.8CVE-2022-27342link-admin project link-adminEPSS 1.1%
Link-Admin v0.0.1 was discovered to contain a SQL injection vulnerability via DictRest.ResponseResult().
- 9.8CVE-2022-27341jfinalcms project jfinalcmsEPSS 1.2%
JFinalCMS v2.0 was discovered to contain a SQL injection vulnerability via the Article Management function.
- 7.5CVE-2022-1429pimcoreEPSS 64%
SQL injection in GridHelperService.php in GitHub repository pimcore/pimcore prior to 10.3.6. This vulnerability is capable of steal the data
- 9.8CVE-2022-28439janobe baby care systemEPSS 1.3%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/uesrs.php&&action=delete&userid=4.
- 9.8CVE-2022-28438janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/uesrs.php&action=type&userrole=User&userid=.
- 9.8CVE-2022-28437janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/uesrs.php&action=type&userrole=Admin&userid=3.
- 9.8CVE-2022-28436janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/uesrs.php&action=display&value=Hide&userid=.
- 9.8CVE-2022-28435janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/siteoptions.php&action=displaygoal&value=1&roleid=1.
- 9.8CVE-2022-28434janobe baby care systemEPSS 0.9%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin.php?id=siteoptions&social=edit&sid=2.
- 9.8CVE-2022-28433janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/uesrs.php&action=display&value=Show&userid=.
- 9.8CVE-2022-28432janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin.php?id=siteoptions&social=display&value=0&sid=2.
- 9.8CVE-2022-28431janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/siteoptions.php&social=remove&sid=2.
- 9.8CVE-2022-28429janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/inbox.php&action=delete&msgid=.
- 9.8CVE-2022-28427janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/inbox.php&action=read&msgid=.
- 9.8CVE-2022-28426janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/pagerole.php&action=edit&roleid=.
- 9.8CVE-2022-28425janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/pagerole.php&action=display&value=1&roleid=.
- 9.8CVE-2022-28424janobe baby care systemEPSS 1.3%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/posts.php&find=.
- 9.8CVE-2022-28423janobe baby care systemEPSS 1.3%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/posts.php&action=delete.
- 9.8CVE-2022-28422janobe baby care systemEPSS 1.3%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin/posts.php&action=edit.
- 9.8CVE-2022-28421janobe baby care systemEPSS 1.2%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via /admin.php?id=posts&action=display&value=1&postid=.
- 9.8CVE-2022-28420janobe baby care systemEPSS 1.3%
Baby Care System v1.0 was discovered to contain a SQL injection vulnerability via BabyCare/admin.php?id=theme&setid=.
- 9.8CVE-2022-28417home owners collection management system project home owners collection management systemEPSS 1.3%
Home Owners Collection Management System v1.0 was discovered to contain a SQL injection vulnerability via /hocms/classes/Master.php?f=delete_phase.
- 9.8CVE-2022-28416home owners collection management system project home owners collection management systemEPSS 1.3%
Home Owners Collection Management System v1.0 was discovered to contain a SQL injection vulnerability via /hocms/classes/Master.php?f=delete_phase.
- 9.8CVE-2022-28415home owners collection management system project home owners collection management systemEPSS 1.3%
Home Owners Collection Management System v1.0 was discovered to contain a SQL injection vulnerability via /hocms/classes/Master.php?f=delete_collection.
- 9.8CVE-2022-28414home owners collection management system project home owners collection management systemEPSS 1.2%
Home Owners Collection Management System v1.0 was discovered to contain a SQL injection vulnerability via /hocms/classes/Master.php?f=delete_member.
- 9.8CVE-2022-28413car driving school management system project car driving school management systemEPSS 1.5%
Car Driving School Management System v1.0 was discovered to contain a SQL injection vulnerability via /cdsms/classes/Master.php?f=delete_enrollment.
- 9.8CVE-2022-28412car driving school management system project car driving school management systemEPSS 1.5%
Car Driving School Managment System v1.0 was discovered to contain a SQL injection vulnerability via /cdsms/classes/Master.php?f=delete_package.
- 9.8CVE-2022-28411simple real estate portal system portal simple real estate portal systemEPSS 1.5%
Simple Real Estate Portal System v1.0 was discovered to contain a SQL injection vulnerability via /reps/admin/?page=agents/manage_agent.
- 9.8CVE-2022-28410simple real estate portal system project simple real estate portal systemEPSS 1.5%
Simple Real Estate Portal System v1.0 was discovered to contain a SQL injection vulnerability via /reps/classes/Users.php?f=delete_agent.
- 9.8CVE-2022-28030simple real estate portal system project simple real estate portal systemEPSS 1.3%
Simple Real Estate Portal System v1.0 was discovered to contain a SQL injection vulnerability via /reps/classes/Master.php?f=delete_estate.
- 9.8CVE-2022-28029simple real estate portal system project simple real estate portal systemEPSS 1.3%
Simple Real Estate Portal System v1.0 was discovered to contain a SQL injection vulnerability via /reps/classes/Master.php?f=delete_type.
- 9.8CVE-2022-28028simple 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 /reps/classes/Master.php?f=delete_amenity.
- 9.8CVE-2022-28026oretnom23 student grading systemEPSS 1.2%
Student Grading System v1.0 was discovered to contain a SQL injection vulnerability via /student-grading-system/rms.php?page=student_p&id=.
- 9.8CVE-2022-28025oretnom23 student grading systemEPSS 1.2%
Student Grading System v1.0 was discovered to contain a SQL injection vulnerability via /student-grading-system/rms.php?page=school_year.
- 9.8CVE-2022-28024oretnom23 student grading systemEPSS 1.2%
Student Grading System v1.0 was discovered to contain a SQL injection vulnerability via /student-grading-system/rms.php?page=grade.
- 9.8CVE-2022-28023purchase order management system project purchase order management systemEPSS 2.6%
Purchase Order Management System v1.0 was discovered to contain a SQL injection vulnerability via /purchase_order/classes/Master.php?f=delete_supplier.
- 9.8CVE-2022-28022purchase order management system project purchase order management systemEPSS 2.6%
Purchase Order Management System v1.0 was discovered to contain a SQL injection vulnerability via /purchase_order/classes/Master.php?f=delete_item.
- 8.8CVE-2022-28020attendance and payroll system project attendance and payroll systemEPSS 1.1%
Attendance and Payroll System v1.0 was discovered to contain a SQL injection vulnerability via the component \admin\position_edit.php.
- 8.8CVE-2022-28019attendance and payroll system project attendance and payroll systemEPSS 1.1%
Attendance and Payroll System v1.0 was discovered to contain a SQL injection vulnerability via the component \admin\employee_edit.php.
- 8.8CVE-2022-28018attendance and payroll system project attendance and payroll systemEPSS 1.1%
Attendance and Payroll System v1.0 was discovered to contain a SQL injection vulnerability via the component \admin\schedule_edit.php.