CWE-180: Incorrect Behavior Order: Validate Before Canonicalize

VariantDraft

The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.

View on MITRE
Back to CWE Lookup

Extended Description

This can be used by an attacker to bypass the validation and launch attacks that expose weaknesses that would otherwise be prevented, such as injection.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More

CWE-180: Incorrect Behavior Order: Validate Before Canonicalize | CWE Lookup | Inventive HQ