CWE-177: Improper Handling of URL Encoding (Hex Encoding), published in 2022
Filter
The product does not properly handle when all or part of an input has been URL encoded.
What the weakness is: CWE-177 at MITRE. All weaknesses
Related attack patterns (CAPEC): 4
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-72 URL Encoding Likelihood: High · Severity: High
- CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
- CAPEC-468 Generic Cross-Browser Cross-Domain Theft Severity: Medium
The attack patterns MITRE's CAPEC relates to CWE-177, as MITRE names them. Credits.
Ask an AI about CWE-177
Show the prompt
Explain CWE-177: Improper Handling of URL Encoding (Hex Encoding) and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/177.html and https://cve.bz/cve/cwe/177?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.5CVE-2022-27780EPSS 2.5%
The curl URL parser wrongly accepts percent-encoded URL separators like '/'when decoding the host name part of a URL, making it a *different* URL usingthe wrong host name when it is later retrieved.For example, a URL like `http://example.c…