---
title: "CWE-219: Storage of File with Sensitive Data Under Web Root"
url: https://radicalnotion.ai/cwe/cwe-219
type: cwe
description: "The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-219: Storage of File with Sensitive Data Under Web Root

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 6
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

## Applicable platforms

**Technologies:** Web Based (Undetermined), Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | If the server is not configured or otherwise used to prevent direct access to those files, then attackers may obtain this sensitive data. |

## Potential mitigations

### Implementation, System Configuration

Avoid storing information under the web root directory.

### System Configuration

Access control permissions should be set to prevent reading/writing of sensitive files inside/outside of the web directory.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2005-1835 | Data file under web root. |
| CVE-2005-2217 | Data file under web root. |
| CVE-2002-1449 | Username/password in data file under web root. |
| CVE-2002-0943 | Database file under web root. |
| CVE-2005-1645 | database file under web root. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-39776 | Avtec Outpost Storage of File with Sensitive Data Under Web Root | high | 8.7 | - | No | 2024-08-22 |
| CVE-2024-56159 | Server source code is exposed to the public if sourcemaps are enabled | high | 7.8 | - | No | 2024-12-19 |
| CVE-2022-21236 | Reolink RLC-410W web server misconfiguration information disclosure vulnerability | high | 7.5 | - | No | 2022-01-28 |
| CVE-2022-36306 | - | medium | 6.5 | - | No | 2022-08-16 |
| CVE-2023-39467 | Triangle MicroWorks SCADA Data Gateway certificate Information Disclosure Vulnerability | medium | 5.3 | - | No | 2024-05-03 |
| CVE-2002-2024 | - | medium | 5.3 | - | No | 2005-07-14 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-552](https://radicalnotion.ai/cwe/cwe-552) | Files or Directories Accessible to External Parties |
| Child | [CWE-433](https://radicalnotion.ai/cwe/cwe-433) | Unparsed Raw Web Content Delivery |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Sensitive Data Under Web Root | - | - |
| OWASP Top Ten 2004 | Insecure Configuration Management | A10 | CWE More Specific |

## Frequently asked questions

### What is CWE-219?

The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

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

6 recorded CVEs are attributed to CWE-219, including CVE-2024-39776, CVE-2024-56159 and CVE-2022-21236.

### Is CWE-219 part of the OWASP Top 10?

CWE-219 maps to OWASP Top Ten 2004: Insecure Configuration Management (A10) in the OWASP security taxonomy.

### How do you prevent CWE-219?

Avoid storing information under the web root directory.

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

Exploiting CWE-219 can lead to: Read Application Data.

### Is CWE-219 actively exploited?

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

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

---

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