---
title: "CWE-618: Exposed Unsafe ActiveX Method"
url: https://radicalnotion.ai/cwe/cwe-618
type: cwe
description: "An ActiveX control is intended for use in a web browser, but it exposes dangerous methods that perform actions that are outside of the browser's security model (e.g. the zone or domain)."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-618: Exposed Unsafe ActiveX Method

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

## Description

An ActiveX control is intended for use in a web browser, but it exposes dangerous methods that perform actions that are outside of the browser's security model (e.g. the zone or domain).

## Modes of introduction

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

## Applicable platforms

**Technologies:** Web Based (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Varies by Context | If there is no integrity checking or origin validation, this method could be invoked by attackers. Since ActiveX controls can exercise far greater control over the operating system than typical Java or javascript, exposed methods can be subject to various vulnerabilities. Consequences depend on the implemented behaviors of those methods, and whether input validation is performed on the provided arguments. |

## Potential mitigations

### Implementation

If you must expose a method, make sure to perform input validation on all arguments, and protect against all possible vulnerabilities.

### Architecture and Design

Use code signing, although this does not protect against any weaknesses that are already in the control.

### Architecture and Design, System Configuration

Where possible, avoid marking the control as safe for scripting.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2007-1120 | download a file to arbitrary folders. |
| CVE-2006-6838 | control downloads and executes a url in a parameter |
| CVE-2007-0321 | resultant buffer overflow |

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-0118 | GlobalProtect App: Execution of Unsafe ActiveX Control Vulnerability | medium | 6.0 | - | No | 2025-03-12 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-749](https://radicalnotion.ai/cwe/cwe-749) | Exposed Dangerous Method or Function |
| Peer | [CWE-623](https://radicalnotion.ai/cwe/cwe-623) | Unsafe ActiveX Control Marked Safe For Scripting |

## Frequently asked questions

### What is CWE-618?

An ActiveX control is intended for use in a web browser, but it exposes dangerous methods that perform actions that are outside of the browser's security model (e.g. the zone or domain).

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

1 recorded CVE is attributed to CWE-618: CVE-2025-0118.

### How do you prevent CWE-618?

If you must expose a method, make sure to perform input validation on all arguments, and protect against all possible vulnerabilities.

### How is CWE-618 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

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

Exploiting CWE-618 can lead to: Varies by Context.

### Is CWE-618 actively exploited?

1 recorded CVE is caused by CWE-618; it is not currently in CISA's KEV catalog of actively exploited flaws.

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

---

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