---
title: "CWE-360: Trust of System Event Data"
url: https://radicalnotion.ai/cwe/cwe-360
type: cwe
description: "Security based on event locations are insecure and can be spoofed."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-360: Trust of System Event Data

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

## Description

Security based on event locations are insecure and can be spoofed.

Events are a messaging system that may provide control data to programs listening for events. Events often do not have any type of authentication framework to allow them to be verified from a trusted source. Any application, in Windows, on a given desktop can send a message to any window on the same desktop. There is no authentication framework for these messages. Therefore, any message can be used to manipulate any process on the desktop if the process does not check the validity and safeness of those messages.

## Modes of introduction

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

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Integrity, Confidentiality, Availability, Access Control | Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands | If one trusts the system-event information and executes commands based on it, one could potentially take actions based on a spoofed identity. |

## Potential mitigations

### Architecture and Design

Never trust or rely on any of the information in an Event for security.

## Demonstrative examples

### Example 1

This example code prints out secret information when an authorized user activates a button:

Bad code:

```java
public void actionPerformed(ActionEvent e) {
    if (e.getSource() == button) {
        System.out.println("print out secret information");
    }
}
```

This code does not attempt to prevent unauthorized users from activating the button. Even if the button is rendered non-functional to unauthorized users in the application UI, an attacker can easily send a false button press event to the application window and expose the secret information.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2004-0213 | Attacker uses Shatter attack to bypass GUI-enforced protection for CVE-2003-0908. |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-3371 | Insufficient validation of external input in Compass may enable MITM attacks | high | 7.1 | - | No | 2024-04-24 |
| CVE-2017-0911 | - | medium | 5.4 | - | No | 2018-02-09 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-345](https://radicalnotion.ai/cwe/cwe-345) | Insufficient Verification of Data Authenticity |
| Child | [CWE-422](https://radicalnotion.ai/cwe/cwe-422) | Unprotected Windows Messaging Channel |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| CLASP | Trust of system event data | - | - |
| Software Fault Patterns | Faulty endpoint authentication | SFP29 | - |

## Frequently asked questions

### What is CWE-360?

Security based on event locations are insecure and can be spoofed.

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

2 recorded CVEs are attributed to CWE-360, including CVE-2024-3371 and CVE-2017-0911.

### How do you prevent CWE-360?

Never trust or rely on any of the information in an Event for security.

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

Exploiting CWE-360 can lead to: Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands.

### Is CWE-360 actively exploited?

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

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

---

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