CWE List

ID Name Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 570
CWE-862 Missing Authorization 302
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') 210
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') 127
CWE-428 Unquoted Search Path or Element 110
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 103
CWE-20 Improper Input Validation 100
CWE-352 Cross-Site Request Forgery (CSRF) 95
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') 93
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 89
CWE-434 Unrestricted Upload of File with Dangerous Type 87
CWE-94 Improper Control of Generation of Code ('Code Injection') 83
CWE-284 Improper Access Control 76
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 74
CWE-787 Out-of-bounds Write 69
CWE-770 Allocation of Resources Without Limits or Throttling 66
CWE-639 Authorization Bypass Through User-Controlled Key 64
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor 62
CWE-416 Use After Free 61
CWE-918 Server-Side Request Forgery (SSRF) 60
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') 59
CWE-476 NULL Pointer Dereference 59
CWE-863 Incorrect Authorization 53
CWE-502 Deserialization of Untrusted Data 53
CWE-125 Out-of-bounds Read 52
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer 52
CWE-122 Heap-based Buffer Overflow 51
CWE-306 Missing Authentication for Critical Function 45
CWE-121 Stack-based Buffer Overflow 43
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') 40
CWE-400 Uncontrolled Resource Consumption 33
CWE-287 Improper Authentication 32
CWE-266 Incorrect Privilege Assignment 30
CWE-190 Integer Overflow or Wraparound 27
CWE-404 Improper Resource Shutdown or Release 25
CWE-269 Improper Privilege Management 23
CWE-798 Use of Hard-coded Credentials 21
CWE-285 Improper Authorization 20
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere 19
CWE-427 Uncontrolled Search Path Element 18
CWE-201 Insertion of Sensitive Information Into Sent Data 18
CWE-522 Insufficiently Protected Credentials 17
CWE-347 Improper Verification of Cryptographic Signature 17
CWE-1284 Improper Validation of Specified Quantity in Input 17
CWE-754 Improper Check for Unusual or Exceptional Conditions 16
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') 16
CWE-732 Incorrect Permission Assignment for Critical Resource 14
CWE-73 External Control of File Name or Path 14
CWE-288 Authentication Bypass Using an Alternate Path or Channel 14
CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') 13
CWE-59 Improper Link Resolution Before File Access ('Link Following') 13
CWE-415 Double Free 13
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition 13
CWE-319 Cleartext Transmission of Sensitive Information 13
CWE-822 Untrusted Pointer Dereference 12
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) 12
CWE-252 Unchecked Return Value 12
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') 11
CWE-758 Reliance on Undefined, Unspecified, or Implementation-Defined Behavior 11
CWE-617 Reachable Assertion 11
CWE-327 Use of a Broken or Risky Cryptographic Algorithm 11
CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') 10
CWE-611 Improper Restriction of XML External Entity Reference 10
CWE-209 Generation of Error Message Containing Sensitive Information 10
CWE-690 Unchecked Return Value to NULL Pointer Dereference 9
CWE-532 Insertion of Sensitive Information into Log File 9
CWE-346 Origin Validation Error 9
CWE-290 Authentication Bypass by Spoofing 9
CWE-116 Improper Encoding or Escaping of Output 9
CWE-829 Inclusion of Functionality from Untrusted Control Sphere 8
CWE-693 Protection Mechanism Failure 8
CWE-674 Uncontrolled Recursion 8
CWE-613 Insufficient Session Expiration 8
CWE-295 Improper Certificate Validation 8
CWE-276 Incorrect Default Permissions 8
CWE-250 Execution with Unnecessary Privileges 8
CWE-1333 Inefficient Regular Expression Complexity 8
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') 7
CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') 7
CWE-401 Missing Release of Memory after Effective Lifetime 7
CWE-36 Absolute Path Traversal 7
CWE-345 Insufficient Verification of Data Authenticity 7
CWE-312 Cleartext Storage of Sensitive Information 7
CWE-307 Improper Restriction of Excessive Authentication Attempts 7
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine 7
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') 7
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes 6
CWE-789 Memory Allocation with Excessive Size Value 6
CWE-384 Session Fixation 6
CWE-191 Integer Underflow (Wrap or Wraparound) 6
CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') 5
CWE-426 Untrusted Search Path 5
CWE-23 Relative Path Traversal 5
CWE-208 Observable Timing Discrepancy 5
CWE-1392 Use of Default Credentials 5
CWE-129 Improper Validation of Array Index 5
CWE-1236 Improper Neutralization of Formula Elements in a CSV File 5
CWE-1021 Improper Restriction of Rendered UI Layers or Frames 5
CWE-943 Improper Neutralization of Special Elements in Data Query Logic 4
CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains 4
CWE-908 Use of Uninitialized Resource 4
CWE-807 Reliance on Untrusted Inputs in a Security Decision 4
CWE-755 Improper Handling of Exceptional Conditions 4
CWE-704 Incorrect Type Conversion or Cast 4
CWE-681 Incorrect Conversion between Numeric Types 4
CWE-640 Weak Password Recovery Mechanism for Forgotten Password 4
CWE-61 UNIX Symbolic Link (Symlink) Following 4
CWE-457 Use of Uninitialized Variable 4
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) 4
CWE-35 Path Traversal: '.../...//' 4
CWE-330 Use of Insufficiently Random Values 4
CWE-204 Observable Response Discrepancy 4
CWE-193 Off-by-one Error 4
CWE-184 Incomplete List of Disallowed Inputs 4
CWE-130 Improper Handling of Length Parameter Inconsistency 4
CWE-126 Buffer Over-read 4
CWE-1188 Initialization of a Resource with an Insecure Default 4
CWE-913 Improper Control of Dynamically-Managed Code Resources 3
CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') 3
CWE-824 Access of Uninitialized Pointer 3
CWE-763 Release of Invalid Pointer or Reference 3
CWE-749 Exposed Dangerous Method or Function 3
CWE-703 Improper Check or Handling of Exceptional Conditions 3
CWE-668 Exposure of Resource to Wrong Sphere 3
CWE-620 Unverified Password Change 3
CWE-612 Improper Authorization of Index Containing Sensitive Information 3
CWE-602 Client-Side Enforcement of Server-Side Security 3
CWE-598 Use of HTTP Request With Sensitive Query String 3
CWE-521 Weak Password Requirements 3
CWE-494 Download of Code Without Integrity Check 3
CWE-441 Unintended Proxy or Intermediary ('Confused Deputy') 3
CWE-359 Exposure of Private Personal Information to an Unauthorized Actor 3
CWE-348 Use of Less Trusted Source 3
CWE-331 Insufficient Entropy 3
CWE-321 Use of Hard-coded Cryptographic Key 3
CWE-311 Missing Encryption of Sensitive Data 3
CWE-305 Authentication Bypass by Primary Weakness 3
CWE-257 Storing Passwords in a Recoverable Format 3
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences 3
CWE-1395 Dependency on Vulnerable Third-Party Component 3
CWE-134 Use of Externally-Controlled Format String 3
CWE-131 Incorrect Calculation of Buffer Size 3
CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation 3
CWE-923 Improper Restriction of Communication Channel to Intended Endpoints 2
CWE-83 Improper Neutralization of Script in Attributes in a Web Page 2
CWE-823 Use of Out-of-range Pointer Offset 2
CWE-805 Buffer Access with Incorrect Length Value 2
CWE-799 Improper Control of Interaction Frequency 2
CWE-772 Missing Release of Resource after Effective Lifetime 2
CWE-682 Incorrect Calculation 2
CWE-672 Operation on a Resource after Expiration or Release 2
CWE-667 Improper Locking 2
CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax 2
CWE-603 Use of Client-Side Authentication 2
CWE-564 SQL Injection: Hibernate 2
CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory 2
CWE-525 Use of Web Browser Cache Containing Sensitive Information 2
CWE-488 Exposure of Data Element to Wrong Session 2
CWE-425 Direct Request ('Forced Browsing') 2
CWE-405 Asymmetric Resource Consumption (Amplification) 2
CWE-378 Creation of Temporary File With Insecure Permissions 2
CWE-377 Insecure Temporary File 2
CWE-369 Divide By Zero 2
CWE-353 Missing Support for Integrity Check 2
CWE-326 Inadequate Encryption Strength 2
CWE-325 Missing Cryptographic Step 2
CWE-303 Incorrect Implementation of Authentication Algorithm 2
CWE-294 Authentication Bypass by Capture-replay 2
CWE-281 Improper Preservation of Permissions 2
CWE-272 Least Privilege Violation 2
CWE-267 Privilege Defined With Unsafe Actions 2
CWE-261 Weak Encoding for Password 2
CWE-256 Plaintext Storage of a Password 2
CWE-248 Uncaught Exception 2
CWE-244 Improper Clearing of Heap Memory Before Release ('Heap Inspection') 2
CWE-24 Path Traversal: '../filedir' 2
CWE-202 Exposure of Sensitive Information Through Data Queries 2
CWE-177 Improper Handling of URL Encoding (Hex Encoding) 2
CWE-170 Improper Null Termination 2
CWE-15 External Control of System or Configuration Setting 2
CWE-1393 Use of Default Password 2
CWE-1391 Use of Weak Credentials 2
CWE-1390 Weak Authentication 2
CWE-1385 Missing Origin Validation in WebSockets 2
CWE-1286 Improper Validation of Syntactic Correctness of Input 2
CWE-1220 Insufficient Granularity of Access Control 2
CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') 2
CWE-1050 Excessive Platform Resource Consumption within a Loop 2
CWE-1004 Sensitive Cookie Without 'HttpOnly' Flag 2
CWE-926 Improper Export of Android Application Components 1
CWE-922 Insecure Storage of Sensitive Information 1
CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') 1
CWE-912 Hidden Functionality 1
CWE-91 XML Injection (aka Blind XPath Injection) 1
CWE-794 Incomplete Filtering of Multiple Instances of Special Elements 1
CWE-779 Logging of Excessive Data 1
CWE-778 Insufficient Logging 1
CWE-760 Use of a One-Way Hash with a Predictable Salt 1
CWE-706 Use of Incorrectly-Resolved Name or Reference 1
CWE-697 Incorrect Comparison 1
CWE-683 Function Call With Incorrect Order of Arguments 1
CWE-676 Use of Potentially Dangerous Function 1
CWE-67 Improper Handling of Windows Device Names 1
CWE-656 Reliance on Security Through Obscurity 1
CWE-649 Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking 1
CWE-636 Not Failing Securely ('Failing Open') 1
CWE-628 Function Call with Incorrectly Specified Arguments 1
CWE-616 Incomplete Identification of Uploaded File Variables (PHP) 1
CWE-610 Externally Controlled Reference to a Resource in Another Sphere 1
CWE-590 Free of Memory not on the Heap 1
CWE-588 Attempt to Access Child of a Non-structure Pointer 1
CWE-566 Authorization Bypass Through User-Controlled SQL Primary Key 1
CWE-565 Reliance on Cookies without Validation and Integrity Checking 1
CWE-553 Command Shell in Externally Accessible Directory 1
CWE-552 Files or Directories Accessible to External Parties 1
CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization 1
CWE-550 Server-generated Error Message Containing Sensitive Information 1
CWE-549 Missing Password Field Masking 1
CWE-548 Exposure of Information Through Directory Listing 1
CWE-540 Inclusion of Sensitive Information in Source Code 1
CWE-524 Use of Cache Containing Sensitive Information 1
CWE-523 Unprotected Transport of Credentials 1
CWE-475 Undefined Behavior for Input to API 1
CWE-474 Use of Function with Inconsistent Implementations 1
CWE-472 External Control of Assumed-Immutable Web Parameter 1
CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') 1
CWE-451 User Interface (UI) Misrepresentation of Critical Information 1
CWE-420 Unprotected Alternate Channel 1
CWE-419 Unprotected Primary Channel 1
CWE-413 Improper Resource Locking 1
CWE-407 Inefficient Algorithmic Complexity 1
CWE-395 Use of NullPointerException Catch to Detect NULL Pointer Dereference 1
CWE-393 Return of Wrong Status Code 1
CWE-379 Creation of Temporary File in Directory with Insecure Permissions 1
CWE-366 Race Condition within a Thread 1
CWE-356 Product UI does not Warn User of Unsafe Actions 1
CWE-340 Generation of Predictable Numbers or Identifiers 1
CWE-323 Reusing a Nonce, Key Pair in Encryption 1
CWE-317 Cleartext Storage of Sensitive Information in GUI 1
CWE-313 Cleartext Storage in a File or on Disk 1
CWE-297 Improper Validation of Certificate with Host Mismatch 1
CWE-291 Reliance on IP Address for Authentication 1
CWE-289 Authentication Bypass by Alternate Name 1
CWE-280 Improper Handling of Insufficient Permissions or Privileges 1
CWE-279 Incorrect Execution-Assigned Permissions 1
CWE-27 Path Traversal: 'dir/../../filename' 1
CWE-259 Use of Hard-coded Password 1
CWE-253 Incorrect Check of Function Return Value 1
CWE-25 Path Traversal: '/../filedir' 1
CWE-232 Improper Handling of Undefined Values 1
CWE-229 Improper Handling of Values 1
CWE-226 Sensitive Information in Resource Not Removed Before Reuse 1
CWE-214 Invocation of Process Using Visible Sensitive Information 1
CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer 1
CWE-203 Observable Discrepancy 1
CWE-188 Reliance on Data/Memory Layout 1
CWE-185 Incorrect Regular Expression 1
CWE-176 Improper Handling of Unicode Encoding 1
CWE-157 Failure to Sanitize Paired Delimiters 1
CWE-1419 Incorrect Initialization of Resource 1
CWE-140 Improper Neutralization of Delimiters 1
CWE-135 Incorrect Calculation of Multi-Byte String Length 1
CWE-1329 Reliance on Component That is Not Updateable 1
CWE-1325 Improperly Controlled Sequential Memory Allocation 1
CWE-1295 Debug Messages Revealing Unnecessary Information 1
CWE-1287 Improper Validation of Specified Type of Input 1
CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input 1
CWE-1242 Inclusion of Undocumented Features or Chicken Bits 1
CWE-1241 Use of Predictable Algorithm in Random Number Generator 1
CWE-124 Buffer Underwrite ('Buffer Underflow') 1
CWE-1234 Hardware Internal or Debug Modes Allow Override of Locks 1
CWE-123 Write-what-where Condition 1
CWE-112 Missing XML Validation 1
CWE-1119 Excessive Use of Unconditional Branching 1
CWE-1046 Creation of Immutable Text Using String Concatenation 1
CWE-1025 Comparison Using Wrong Factors 1