Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-943 (数据查询逻辑中特殊元素的不当中和) — Vulnerability Class 121

121 vulnerabilities classified as CWE-943 (数据查询逻辑中特殊元素的不当中和). AI Chinese analysis included.

CWE-943 represents a critical software weakness where applications fail to properly sanitize special characters within data query logic, allowing malicious input to alter intended database operations. Attackers typically exploit this vulnerability by injecting crafted strings that break out of the original query structure, enabling unauthorized data access, modification, or deletion through techniques like SQL injection. This occurs when developers directly concatenate user-supplied data into query statements without validation or escaping mechanisms. To prevent such exploits, developers must implement robust input validation and utilize parameterized queries or prepared statements, which separate code from data. By treating all user input as untrusted and ensuring that special elements are correctly neutralized or escaped, organizations can effectively mitigate the risk of logic manipulation and safeguard their data stores from unauthorized interference.

MITRE CWE Description
The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query. Depending on the capabilities of the query language, an attacker could inject additional logic into the query to: Modify the intended selection criteria, thus changing which data entities (e.g., records) are returned, modified, or otherwise manipulated Append additional commands to the query Return more entities than intended Return fewer entities than intended Cause entities to be sorted in an unexpected way The ability to execute additional commands or change which entities are returned has obvious risks. But when the product logic depends on the order or number of entities, this can also lead to vulnerabilities. For example, if the query expects to return only one entity that specifies an administrative user, but an attacker can change which entities are returned, this could cause the logic to return information for a regular user and incorrectly assume that the user has administrative privileges. While this weakness is most commonly associated with SQL injection, there are many other query languages that are also subject to injection attacks, including HTSQL, LDAP, DQL, XQuery, Xpath, and "NoSQL" languages.
Common Consequences (1)
Confidentiality, Integrity, Availability, Access Control Bypass Protection Mechanism, Read Application Data, Modify Application Data, Varies by Context
Examples (2)
The following code dynamically constructs and executes a SQL query that searches for items matching a specified name. The query restricts the items displayed to those where owner matches the user name of the currently-authenticated user.
... string userName = ctx.getAuthenticatedUserName(); string query = "SELECT * FROM items WHERE owner = '" + userName + "' AND itemname = '" + ItemName.Text + "'"; sda = new SqlDataAdapter(query, conn); DataTable dt = new DataTable(); sda.Fill(dt); ...
Bad · C#
SELECT * FROM items WHERE owner = <userName> AND itemname = <itemName>;
Informative
The code below constructs an LDAP query using user input address data:
context = new InitialDirContext(env); String searchFilter = "StreetAddress=" + address; NamingEnumeration answer = context.search(searchBase, searchFilter, searchCtls);
Bad · Java
CVE ID Title CVSS Severity Published
CVE-2026-120201 Jpom 2.10.0 through 2.11.12 Authentication Bypass via JPOM-USER-TOKEN Header — Jpom 9.8 Critical 2026-10-31
CVE-2026-118645 n8n before 1.123.85, 2.43.5, and 2.44.1 Filter Injection via Quick Base Node Where Parameter — n8n 8.7 High 2026-10-28
CVE-2026-118641 n8n before 1.123.85, 2.43.5, and 2.44.1 OData $filter Injection via Outlook and SharePoint Nodes — n8n 7.5 High 2026-10-28
CVE-2026-118581 NoSQL injection via mismatched BSON size prefix in raw document splice to the wire protocol — Java Driver 6.5 Medium 2026-10-28
CVE-2026-116801 Parse Server 9.0.0 before 9.10.5-alpha.6 ACL Bypass via $relatedTo Query — parse-server 4.3 Medium 2026-10-26
CVE-2026-57193 Asterisk: LDAP Filter Injection in res_config_ldap via SIP Username (Unauthenticated Information Disclosure) — asterisk 6.9 Medium 2026-10-26
CVE-2026-114652 Update operator injection via single-element list rewriting in the update builder — C# Driver 6.5 Medium 2026-10-22
CVE-2026-114648 NoSQL injection via dot and dollar characters in LINQ filter field names and dictionary keys — C# Driver 7.6 High 2026-10-22
CVE-2026-114647 NoSQL operator injection via unvalidated replacement document in findOneAndReplace — C# Driver 4.3 Medium 2026-10-22
CVE-2026-76295 SPL Injection through the REST API in Splunk Secure Gateway — Splunk Enterprise 4.3 Medium 2026-10-21
CVE-2026-114401 Trudesk through 1.2.11 Username Enumeration via Regex Injection in /api/v1/login — trudesk 5.3 Medium 2026-10-21
CVE-2026-114396 Trudesk through 1.2.11 MongoDB $where Injection via tickets search API — trudesk 7.1 High 2026-10-21
CVE-2026-59962 Tandoor Recipes: ORM ORDER BY Injection via FK Traversal in Tandoor Recipes — recipes 6.5 Medium 2026-10-16
CVE-2026-102988 Plane: ORM Field Injection via Unvalidated `order_by` Parameter (Including Unauthenticated Path) — plane 5.3 Medium 2026-10-13
CVE-2026-106119 LangChain: MongoDBChatMessageHistory query injection can allow cross-session access — langchainjs 6.0 Medium 2026-10-06
CVE-2026-105799 LangChain: RediSearch Filter Injection via Unescaped Tag/Text Values — langchainjs 2.3 Low 2026-10-06
CVE-2026-105681 Ghost: Authorization Bypass in Comments Feature — Ghost 6.5 Medium 2026-10-05
CVE-2026-104956 Plane: Unauthenticated ORM field-name injection via `group_by`/`sub_group_by` on public deploy boards (DoS + blind oracle) — plane 5.3 Medium 2026-10-05
CVE-2026-73976 djehuty: Unauthenticated SPARQL injection in the search API (`order`, `operator`, `key`) — djehuty 7.1 High 2026-10-01
CVE-2026-73975 djehuty: Authenticated SPARQL injection in session editing allows writing arbitrary RDF triples — djehuty 8.4 High 2026-10-01
CVE-2026-103289 Ghost 5.9.0 before 6.44.1 Authorization Bypass via Comments — Ghost 6.5 Medium 2026-10-01
CVE-2026-103258 n8n before 2.39.6 and 2.40.x before 2.40.1 Filter Bypass via Parameter Interpolation — n8n 6.8 Medium 2026-10-01
CVE-2026-103250 n8n before 1.123.80, 2.39.6, and 2.40.1 NoSQL Injection via MongoDB Chat Memory — n8n 8.1 High 2026-10-01
CVE-2026-81914 Apache Airflow Google provider: Google Drive query injection via unescaped file and folder names — Apache Airflow Google provider - - 2026-09-29
CVE-2026-100631 Parse Server 9.0.0 Unauthenticated Installation Deletion via Operator Injection — parse-server 7.5 High 2026-09-26
CVE-2026-97228 Rapid7 Bulk Export MCP — GraphQL Query Injection in Export Status Lookup — Platform 2.7 Low 2026-09-25
CVE-2026-91133 Discourse: Escape LIKE metacharacters in upload paths to prevent disclosure — discourse 6.5 Medium 2026-09-24
CVE-2026-96744 Unauthorized cache lock takeover via expression injection in lock owner values in MongoDB integration for Laravel — Laravel MongoDB (PHP) 7.1 High 2026-09-24
CVE-2026-93760 NoSQL injection of JavaScript-executing query operators via unsafe-by-default operator guard — Mongoid 8.2 High 2026-09-18
CVE-2026-20284 Cisco Identity Search Engine SXP REST API SQL Injection Vulnerability — Cisco Identity Services Engine Software 9.1 Critical 2026-09-16

Vulnerabilities classified as CWE-943 (数据查询逻辑中特殊元素的不当中和) represent 121 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.