CWE-618

Exposed Unsafe ActiveX Method

Medium

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).

Potential Impact

How to Fix

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

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

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-618 vulnerabilities in your codebase.

Get Security Assessment