---
title: "CWE-202: Exposure of Sensitive Information Through Data Queries"
url: https://radicalnotion.ai/cwe/cwe-202
type: cwe
description: "When trying to keep information confidential, an attacker can often infer some of the information by using statistics."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-202: Exposure of Sensitive Information Through Data Queries

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **Likelihood of exploit:** Medium
- **CVEs with this as primary weakness:** 42
- **Of those, in CISA KEV:** 0
- **New in 2026:** 17
- **CWE catalog version:** 4.21

## Description

When trying to keep information confidential, an attacker can often infer some of the information by using statistics.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Files or Directories, Read Application Data | Sensitive information may possibly be leaked through data queries accidentally. In situations where data should not be tied to individual users, but a large number of users should be able to make queries that "scrub" the identity of users, it may be possible to get information about a user -- e.g., by specifying search terms that are known to be unique to that user. |

## Potential mitigations

### Architecture and Design

This is a complex topic. See the \[REF-1492\] for a good discussion of best practices.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2022-41935 | Wiki product allows an adversary to discover filenames via a series of queries starting with one letter and then iteratively extending the match. |

## Real CVEs with this weakness (sample of 12 of 42)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2021-32743 | Passwords used to access external services inadvertently exposed through API | high | 8.8 | - | No | 2021-07-15 |
| CVE-2026-129875 | REBUILD 4.5.0 through 4.5.4 Password Hash Disclosure via MCP QueryRecords | high | 8.7 | - | No | 2026-11-16 |
| CVE-2024-2088 | NextScripts: Social Networks Auto-Poster \<= 4.4.3 - Authenticated(Subscriber+) Sensitive Information Exposure | high | 8.5 | - | No | 2024-05-22 |
| CVE-2025-25205 | Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching | high | 8.2 | - | No | 2025-02-12 |
| CVE-2026-79633 | Apache Answer: Missing Authorization Allows Mutations of Non-Public Content | high | 8.1 | - | No | 2026-10-19 |
| CVE-2026-33530 | InvenTree Vulnerable to ORM Filter Injection | high | 7.7 | - | No | 2026-03-26 |
| CVE-2026-30778 | Apache SkyWalking: The SkyWalking OAP /debugging/config/dump endpoint may leak sensitive configuration information of MySQL/PostgreSQL. | high | 7.5 | - | No | 2026-04-15 |
| CVE-2025-69200 | phpMyFAQ has unauthenticated config backup download via /api/setup/backup | high | 7.5 | - | No | 2025-12-29 |
| CVE-2025-36575 | - | high | 7.5 | - | No | 2025-06-10 |
| CVE-2025-29981 | - | high | 7.5 | - | No | 2025-04-02 |
| CVE-2024-13255 | RESTful Web Services - Critical - Access bypass - SA-CONTRIB-2024-019 | high | 7.5 | - | No | 2025-01-09 |
| CVE-2023-7072 | Post Grid Combo – 36+ Gutenberg Blocks \<= 2.2.68 - Information Exposure via get\_posts API Endpoint | high | 7.5 | - | No | 2024-03-12 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1230](https://radicalnotion.ai/cwe/cwe-1230) | Exposure of Sensitive Information Through Metadata |
| Related | [CWE-201](https://radicalnotion.ai/cwe/cwe-201) | Insertion of Sensitive Information Into Sent Data |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| CLASP | Accidental leaking of sensitive information through data queries | - | - |

## Frequently asked questions

### What is CWE-202?

When trying to keep information confidential, an attacker can often infer some of the information by using statistics.

### What CVEs are caused by CWE-202?

42 recorded CVEs are attributed to CWE-202, including CVE-2021-32743, CVE-2026-129875 and CVE-2024-2088.

### How do you prevent CWE-202?

This is a complex topic. See the for a good discussion of best practices.

### What are the consequences of CWE-202?

Exploiting CWE-202 can lead to: Read Files or Directories, Read Application Data.

### Is CWE-202 actively exploited?

42 recorded CVEs are caused by CWE-202; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/202.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-202). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
