COMMON WEAKNESS ENUMERATIONIncomplete

CWE-792

Incomplete Filtering of One or More Instances of Special Elements

The product receives data from an upstream component, but does not completely filter one or more instances of special elements before sending it to a downstream component.

Abstraction

Variant

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

The product receives data from an upstream component, but does not completely filter one or more instances of special elements before sending it to a downstream component.

Extended description

Incomplete filtering of this nature involves either: - only filtering a single instance of a special element when more exist, or - not filtering all instances or all elements where multiple special elements exist.

Root cause

How and when does the problem arise?

Lifecycle phase

Implementation

REALIZATION: This weakness is caused during implementation of an architectural security tactic.

Risk

What does successful exploitation lead to?

Unexpected State

Affected security scopes: Integrity

Defence

How is it prevented and fixed?

  • Follow secure coding guidelines for input handling and boundary checking.
  • Enforce strict security reviews and automated static analysis (SAST) checks.