CWE-20: Improper Input Validation, published in 2023, page 7
Filter
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
What the weakness is: CWE-20 at MITRE. OWASP Top 10: A05:2025 Injection. All weaknesses
Related attack patterns (CAPEC): 51
- CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
- CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
- CAPEC-8 Buffer Overflow in an API Call Likelihood: High · Severity: High
- CAPEC-9 Buffer Overflow in Local Command-Line Utilities Likelihood: High · Severity: High
- CAPEC-10 Buffer Overflow via Environment Variables Likelihood: High · Severity: High
- CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
- CAPEC-14 Client-side Injection-induced Buffer Overflow Likelihood: Medium · Severity: High
- CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
- CAPEC-23 File Content Injection Likelihood: High · Severity: Very High
- CAPEC-24 Filter Failure through Buffer Overflow Likelihood: High · Severity: High
- CAPEC-28 Fuzzing Likelihood: High · Severity: Medium
- CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
- CAPEC-42 MIME Conversion Likelihood: High · Severity: High
- CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
- CAPEC-45 Buffer Overflow via Symbolic Links Likelihood: High · Severity: High
- CAPEC-46 Overflow Variables and Tags Likelihood: High · Severity: High
- CAPEC-47 Buffer Overflow via Parameter Expansion Likelihood: Medium · Severity: High
- CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
- CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-67 String Format Overflow in syslog() Likelihood: High · Severity: Very High
- CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
- CAPEC-72 URL Encoding Likelihood: High · Severity: High
- CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
- CAPEC-83 XPath Injection Likelihood: High · Severity: High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-88 OS Command Injection Likelihood: High · Severity: High
- CAPEC-101 Server Side Include (SSI) Injection Likelihood: High · Severity: High
- CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
- CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
- CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
- CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
- CAPEC-135 Format String Injection Likelihood: High · Severity: High
- CAPEC-136 LDAP Injection Likelihood: High · Severity: High
- CAPEC-153 Input Data Manipulation Severity: Medium
- CAPEC-182 Flash Injection Likelihood: High · Severity: Medium
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
- CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High
- CAPEC-250 XML Injection Likelihood: High
- CAPEC-261 Fuzzing for garnering other adjacent user/sensitive data Severity: Medium
- CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High
- CAPEC-473 Signature Spoof
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-20, as MITRE names them. Credits.
Ask an AI about CWE-20
Show the prompt
Explain CWE-20: Improper Input Validation and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/20.html and https://cve.bz/cve/cwe/20?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
- 8.8CVE-2023-36899microsoft .net frameworkEPSS 77%
ASP.NET Elevation of Privilege Vulnerability
- 5.9CVE-2023-36873microsoft .net frameworkEPSS 1.5%
.NET Framework Spoofing Vulnerability
- 7.5CVE-2023-3894fasterxml jackson-dataformats-textEPSS 0.9%
Those using jackson-dataformats-text to parse TOML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.…
- 6.5CVE-2023-38254microsoftEPSS 1.6%
Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability
- 7.5CVE-2023-36912microsoftEPSS 2.1%
Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability
- 6.5CVE-2023-36897microsoftEPSS 1.7%
Visual Studio Tools for Office Runtime Spoofing Vulnerability
- 6.5CVE-2023-36893microsoftEPSS 2.2%
Microsoft Outlook Spoofing Vulnerability
- 6.5CVE-2023-35377microsoftEPSS 2.2%
Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability
- 6.5CVE-2023-35376microsoftEPSS 2.2%
Microsoft Message Queuing (MSMQ) Denial of Service Vulnerability
- 8.8CVE-2023-35368microsoft exchange serverEPSS 2.5%
Microsoft Exchange Remote Code Execution Vulnerability
- 9.8CVE-2023-39532agoric sesEPSS 1.3%
SES is a JavaScript environment that allows safe execution of arbitrary programs in Compartments. In version 0.18.0 prior to 0.18.7, 0.17.0 prior to 0.17.1, 0.16.0 prior to 0.16.1, 0.15.0 prior to 0.15.24, 0.14.0 prior to 0.14.5, an 0.13.0…
- 6.5CVE-2023-21647qualcommEPSS 0.4%
Information disclosure in Bluetooth when an GATT packet is received due to improper input validation.
- 7.8CVE-2023-21627qualcommEPSS 0.1%
Memory corruption in Trusted Execution Environment while calling service API with invalid address.
- 9.1CVE-2023-39530prestashopEPSS 0.9%
PrestaShop is an open source e-commerce web application. Prior to version 8.1.1, it is possible to delete files from the server via the CustomerMessage API. Version 8.1.1 contains a patch for this issue. There are no known workarounds.
- 9.1CVE-2023-39529prestashopEPSS 0.7%
PrestaShop is an open source e-commerce web application. Prior to version 8.1.1, it is possible to delete a file from the server by using the Attachments controller and the Attachments API. Version 8.1.1 contains a patch for this issue. Th…
- 9.8CVE-2023-38704datadoghq import-in-the-middleEPSS 1.0%
import-in-the-middle is a module loading interceptor specifically for ESM modules. The import-in-the-middle loader works by generating a wrapper module on the fly. The wrapper uses the module specifier to load the original module and add s…
- 5.5CVE-2023-27373insyde insydeh2oEPSS 0.2%
An issue was discovered in Insyde InsydeH2O with kernel 5.0 through 5.5. Due to insufficient input validation, an attacker can tamper with a runtime-accessible EFI variable to cause a dynamic BAR setting to overlap SMRAM.
- 5.3CVE-2020-26082cisco asyncosEPSS 0.6%
A vulnerability in the zip decompression engine of Cisco AsyncOS Software for Cisco Email Security Appliance (ESA) could allow an unauthenticated, remote attacker to bypass content filters that are configured on an affected device. The v…
- 9.8CVE-2023-38690matrix irc bridgeEPSS 0.9%
matrix-appservice-irc is a Node.js IRC bridge for Matrix. Prior to version 1.0.1, it is possible to craft a command with newlines which would not be properly parsed. This would mean you could pass a string of commands as a channel name, wh…
- 4.3CVE-2023-30952palantir foundryEPSS 0.4%
A security defect was discovered in Foundry Issues that enabled users to create convincing phishing links by editing the request sent when creating an Issue. This defect was resolved in Frontend release 6.228.0 .
- 6.5CVE-2023-37559codesysEPSS 0.6%
After successful authentication as a user in multiple Codesys products in multiple versions, specific crafted network communication requests with inconsistent content can cause the CmpAppForce component to read internally from an invalid a…
- 6.5CVE-2023-37558codesysEPSS 0.6%
After successful authentication as a user in multiple Codesys products in multiple versions, specific crafted network communication requests with inconsistent content can cause the CmpAppForce component to read internally from an invalid a…
- 6.5CVE-2023-37556codesysEPSS 0.6%
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid add…
- 6.5CVE-2023-37555codesysEPSS 0.6%
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid add…
- 6.5CVE-2023-37554codesysEPSS 0.6%
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid add…
- 6.5CVE-2023-37553codesysEPSS 0.6%
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid add…
- 6.5CVE-2023-37552codesysEPSS 0.6%
In multiple versions of multiple Codesys products, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpAppBP component to read internally from an invalid add…
- 6.5CVE-2023-37550codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2023-37549codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2023-37548codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2023-37547codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2023-37546codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2023-37545codesysEPSS 0.6%
In multiple Codesys products in multiple versions, after successful authentication as a user, specific crafted network communication requests with inconsistent content can cause the CmpApp component to read internally from an invalid addre…
- 6.5CVE-2022-4925google chromeEPSS 0.6%
Insufficient validation of untrusted input in QUIC in Google Chrome prior to 97.0.4692.71 allowed a remote attacker to perform header splitting via malicious network traffic. (Chromium security severity: Low)
- 6.5CVE-2022-4911google chromeEPSS 0.6%
Insufficient data validation in DevTools in Google Chrome prior to 106.0.5249.62 allowed a remote attacker to bypass content security policy via a crafted HTML page. (Chromium security severity: Low)
- 9.8CVE-2023-38495cncf crossplaneEPSS 0.8%
Crossplane is a framework for building cloud native control planes without needing to write code. In versions prior to 1.11.5, 1.12.3, and 1.13.0, Crossplane's image backend does not validate the byte contents of Crossplane packages. As su…
- 7.5CVE-2022-43713gxsoftware xperiencentralEPSS 0.5%
Interactive Forms (IAF) in GX Software XperienCentral versions 10.33.1 until 10.35.0 was vulnerable to invalid data input because form validation could be bypassed.
- 7.2CVE-2023-28130checkpoint gaia portalEPSS 21%
Local user may lead to privilege escalation using Gaia Portal hostnames page.
- 7.5CVE-2022-2502hitachienergy rtu500 firmwareEPSS 0.6%
A vulnerability exists in the HCI IEC 60870-5-104 function included in certain versions of the RTU500 series product. The vulnerability can only be exploited, if the HCI 60870-5-104 is configured with support for IEC 62351-5 and the CMU co…
- 6.5CVE-2023-38502tdengineEPSS 0.7%
TDengine is an open source, time-series database optimized for Internet of Things devices. Prior to version 3.0.7.1, TDengine DataBase crashes on UDF nested query. This issue affects TDengine Databases which let users connect and run arbit…
- 5.3CVE-2023-35944envoyproxy envoyEPSS 0.7%
Envoy is an open source edge and service proxy designed for cloud-native applications. Envoy allows mixed-case schemes in HTTP/2, however, some internal scheme checks are case-sensitive. Prior to versions 1.27.0, 1.26.4, 1.25.9, 1.24.10, a…
- 8.8CVE-2023-38060otrsEPSS 0.7%
Improper Input Validation vulnerability in the ContentType parameter for attachments on TicketCreate or TicketUpdate operations of the OTRS Generic Interface modules allows any authenticated attacker to to perform an host header injectio…
- 5.4CVE-2023-38057otrs surveyEPSS 0.4%
An improper input validation vulnerability in OTRS Survey modules allows any attacker with a link to a valid and unanswered survey request to inject javascript code in free text answers. This allows a cross site scripting attack while read…
- 7.5CVE-2023-37915objectcomputing openddsEPSS 0.9%
OpenDDS is an open source C++ implementation of the Object Management Group (OMG) Data Distribution Service (DDS). OpenDDS crashes while parsing a malformed `PID_PROPERTY_LIST` in a DATA submessage during participant discovery. Attackers c…
- 6.1CVE-2023-3466citrixEPSS 2.6%
Reflected Cross-Site Scripting (XSS)
- 7.5CVE-2023-28513ibmEPSS 1.0%
IBM MQ 9.0 LTS, 9.1 LTS, 9.2 LTS, 9.3 LTS, 9.2 CD, and 9.3 CD and IBM MQ Appliance 9.2 LTS, 9.3 LTS, 9.2 CD, and 9.2 LTS, under certain configurations, is vulnerable to a denial of service attack caused by an error processing messages. IB…
- 6.5CVE-2022-43908ibm security guardiumEPSS 0.7%
IBM Security Guardium 11.3 could allow an authenticated user to cause a denial of service due to improper input validation. IBM X-Force ID: 240903.
- 4.7CVE-2023-33832ibmEPSS 0.1%
IBM Spectrum Protect 8.1.0.0 through 8.1.17.0 could allow a local user to cause a denial of service due to due to improper time-of-check to time-of-use functionality. IBM X-Force ID: 256012.
- 8.8CVE-2023-3724wolfsslEPSS 0.7%
If a TLS 1.3 client gets neither a PSK (pre shared key) extension nor a KSE (key share extension) when connecting to a malicious server, a default predictable buffer gets used for the IKM (Input Keying Material) value when generating the s…
- 4.3CVE-2023-36466discourseEPSS 0.4%
Discourse is an open source discussion platform. When editing a topic, there is a vulnerability that enables a user to bypass the topic title validations for things like title length, number of emojis in title and blank topic titles. The i…