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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

120 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-76327 SPL Injection through Splunk Web in Splunk Secure Gateway — Splunk Enterprise 6.4 Medium 2026-08-19
CVE-2026-76320 SPL Injection through Cross-Site Request Forgery (CSRF) in the Event Type Builder in Splunk Web for Splunk Enterprise — Splunk Enterprise 5.9 Medium 2026-08-19
CVE-2026-76316 Stored SPL Injection through Deployment Server Broker Registration in Splunk Enterprise — Splunk Enterprise 8.8 High 2026-08-19
CVE-2026-76254 SPL Command Safeguards Bypass through Splunk Web in Splunk Enterprise — Splunk Enterprise 7.5 High 2026-08-19
CVE-2026-73618 Budibase Server before 3.40.0 NoSQL Injection via JSON Parameter — server 8.3 High 2026-08-13
CVE-2026-73617 Budibase before 3.40.0 NoSQL Injection via MongoDB datasource — server 7.1 High 2026-08-13
CVE-2026-70395 Predicate injection in manage_relationship belongs_to lookup discloses secret lookup keys in Ash — ash 2.1 Low 2026-08-09
CVE-2026-63637 Dgraph: DQL Injection via unvalidated regexp filter argument in GraphQL query rewriter — dgraph 8.6 High 2026-08-06
CVE-2026-48121 @langchain/langgraph-checkpoint-mongodb: NoSQL parameter injection in MongoDBSaver allows cross-tenant state access — langgraphjs 6.7 Medium 2026-08-04
CVE-2026-8649 Institution scope bypass vulnerability in custom reports — MOVEit Transfer 6.4 Medium 2026-07-08
CVE-2026-10698 Table scope bypass vulnerability in custom reports — MOVEit Transfer 7.2 High 2026-07-08
CVE-2026-44840 Dgraph Vulnerable to DQL Injection via checkUserPassword GraphQL Query — dgraph 7.5 High 2026-07-08
CVE-2026-40141 High-Severity Vulnerability In Web Application Component of BeyondTrust Remote Support and Privileged Remote Access — Remote Support - - 2026-07-06
CVE-2026-46591 Apache Camel: Camel-Neo4j: JSON property names from the CamelNeo4jMatchProperties header are interpolated into the Cypher WHERE clause without validation, allowing Cypher injection (incomplete remediation of CVE-2025-66169) — Apache Camel - - 2026-07-06
CVE-2026-45689 Rocket.Chat: Pre-Auth NoSQL Injection in OAuth2 Token Endpoint leading to Arbitrary User ATO — Rocket.Chat 9.1 Critical 2026-06-24
CVE-2026-45688 Rocket.Chat: Pre-Auth NoSQL Injection in CAS Login Handler leading to Arbitrary CAS/SAML User Session Hijack — Rocket.Chat 9.1 Critical 2026-06-24
CVE-2026-47835 Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores — Spring AI 8.6 High 2026-06-15
CVE-2026-41697 Spring Data Relational Parameter not Escaped for Query By Example LIKE Pattern — Spring Data Relational 4.8 Medium 2026-06-09
CVE-2026-41696 Spring Data MongoDB Bind Parameter Literal Quoting Breakout — Spring Data MongoDB 5.9 Medium 2026-06-09
CVE-2026-53674 BuddyPress 14.4.0 REGEXP Injection via @Mention Username Resolution — BuddyPress 7.1 High 2026-06-09
CVE-2026-40102 Plane: ORM Field Reference Injection via `segment` Parameter in Saved Analytics — plane 6.5 Medium 2026-05-20
CVE-2026-42156 Flowsint: Cypher query injection in node type on node creation — flowsint - - 2026-05-12
CVE-2026-42316 KQL injection via kusto.tables.topics.mapping in kafka-sink-azure-kusto — kafka-sink-azure-kusto 5.9 Medium 2026-05-11
CVE-2026-33566 LogonTracer 安全漏洞 — LogonTracer 7.5AI High AI 2026-04-27
CVE-2026-41327 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in Upsert Condition Field — dgraph 9.1 Critical 2026-04-24
CVE-2026-41328 Dgraph: Pre-Auth Full Database Exfiltration via DQL Injection in NQuad Lang Field — dgraph 9.1 Critical 2026-04-24
CVE-2026-41274 Flowise: Cypher Injection in GraphCypherQAChain — Flowise 9.8AI Critical AI 2026-04-23
CVE-2026-6626 Cockpit-HQ Cockpit Asset Handler/Aggregate data query logic injection — Cockpit 6.3 Medium 2026-04-20
CVE-2026-40352 FastGPT: NoSQL Injection in updatePasswordByOld Leads to Account Takeover — FastGPT 8.8 High 2026-04-17
CVE-2026-40351 FastGPT: NoSQL Injection in loginByPassword leads to Authentication Bypass — FastGPT 9.8 Critical 2026-04-17

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