CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.
Last updated
Overview
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.
Real-world CVEs
11 recorded CVEs are caused by CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize). The highest-severity and most recent are shown first. 6 new CWE-180 CVEs have been recorded so far in 2026 (3 in 2025).