CWE-202: Exposure of Sensitive Information Through Data Queries
When trying to keep information confidential, an attacker can often infer some of the information by using statistics.
Last updated
Overview
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.
Real-world CVEs
42 recorded CVEs are caused by CWE-202 (Exposure of Sensitive Information Through Data Queries). The highest-severity and most recent are shown first. 16 new CWE-202 CVEs have been recorded so far in 2026 (8 in 2025).
- CVE-2021-32743
Passwords used to access external services inadvertently exposed through API
High · CVSS 8.8 · EPSS 79th2021-07-15 - CVE-2024-2088
NextScripts: Social Networks Auto-Poster <= 4.4.3 - Authenticated(Subscriber+) Sensitive Information Exposure
High · CVSS 8.5 · EPSS 28th2024-05-22 - CVE-2025-25205
Remote Authentication-Bypass can lead to server crash or limited information disclosure due to faulty pattern matching
High · CVSS 8.2 · EPSS 92th2025-02-12 - CVE-2024-6400
Cleartext Storage of Username and Password in Finrota's Netahsilat
High · CVSS 8.2 · EPSS 50th2024-10-04 - CVE-2026-79633
Apache Answer: Missing Authorization Allows Mutations of Non-Public Content
High · CVSS 8.1 · EPSS 22th2026-10-19 - CVE-2026-33530
InvenTree Vulnerable to ORM Filter Injection
High · CVSS 7.7 · EPSS 11th2026-03-26 - CVE-2026-30778
Apache SkyWalking: The SkyWalking OAP /debugging/config/dump endpoint may leak sensitive configuration information of MySQL/PostgreSQL.
High · CVSS 7.5 · EPSS 46th2026-04-15 - CVE-2025-69200
phpMyFAQ has unauthenticated config backup download via /api/setup/backup
High · CVSS 7.5 · EPSS 82th2025-12-29 - CVE-2025-36575High · CVSS 7.5 · EPSS 30th2025-06-10
- CVE-2025-29981High · CVSS 7.5 · EPSS 34th2025-04-02
- CVE-2024-13255
RESTful Web Services - Critical - Access bypass - SA-CONTRIB-2024-019
High · CVSS 7.5 · EPSS 44th2025-01-09 - CVE-2023-7072
Post Grid Combo – 36+ Gutenberg Blocks <= 2.2.68 - Information Exposure via get_posts API Endpoint
High · CVSS 7.5 · EPSS 50th2024-03-12
Showing 12 of 42 recorded CWE-202 CVEs. Get an alert for each new one, with AI-written analysis and fixes.
Monitor these CVEsCommon consequences
What can happen when CWE-202 is exploited.
Read Files or Directories, Read Application Data
Affects: Confidentiality
Sensitive information may possibly be leaked through data queries accidentally.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-202, grouped by where in the lifecycle they apply.
This is a complex topic. See the [2] for a good discussion of best practices.
Illustrative examples
Real CVEs that MITRE cites as examples of this weakness.
- 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.
Terminology & mappings
Mapped taxonomies
- CLASP: Accidental leaking of sensitive information through data queries
Frequently asked questions
Common questions about CWE-202.
- 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-2024-2088 and CVE-2025-25205.
- 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.
Sources
- [1]The CLASP Application Security Process (2005)
- [2]Translucent Databases (2002)
References
- MITRE CWE definition (CWE-202) (opens in a new tab)
- CWE-202 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-202 CVEs
Get an alert when a new CWE-202 CVE affects your products, with AI-written analysis and remediation steps.