CWE List

ID Name Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 633
CWE-862 Missing Authorization 306
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') 265
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 141
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 139
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') 133
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer 124
CWE-121 Stack-based Buffer Overflow 123
CWE-94 Improper Control of Generation of Code ('Code Injection') 106
CWE-918 Server-Side Request Forgery (SSRF) 90
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 90
CWE-284 Improper Access Control 88
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') 84
CWE-125 Out-of-bounds Read 81
CWE-352 Cross-Site Request Forgery (CSRF) 74
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor 70
CWE-306 Missing Authentication for Critical Function 68
CWE-639 Authorization Bypass Through User-Controlled Key 67
CWE-502 Deserialization of Untrusted Data 67
CWE-122 Heap-based Buffer Overflow 67
CWE-787 Out-of-bounds Write 65
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') 62
CWE-434 Unrestricted Upload of File with Dangerous Type 58
CWE-770 Allocation of Resources Without Limits or Throttling 55
CWE-863 Incorrect Authorization 53
CWE-266 Incorrect Privilege Assignment 53
CWE-20 Improper Input Validation 53
CWE-476 NULL Pointer Dereference 49
CWE-416 Use After Free 48
CWE-428 Unquoted Search Path or Element 44
CWE-287 Improper Authentication 37
CWE-285 Improper Authorization 36
CWE-400 Uncontrolled Resource Consumption 31
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') 30
CWE-269 Improper Privilege Management 26
CWE-427 Uncontrolled Search Path Element 25
CWE-404 Improper Resource Shutdown or Release 24
CWE-295 Improper Certificate Validation 24
CWE-276 Incorrect Default Permissions 23
CWE-73 External Control of File Name or Path 22
CWE-190 Integer Overflow or Wraparound 22
CWE-613 Insufficient Session Expiration 21
CWE-532 Insertion of Sensitive Information into Log File 20
CWE-798 Use of Hard-coded Credentials 17
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition 17
CWE-288 Authentication Bypass Using an Alternate Path or Channel 17
CWE-732 Incorrect Permission Assignment for Critical Resource 16
CWE-59 Improper Link Resolution Before File Access ('Link Following') 16
CWE-116 Improper Encoding or Escaping of Output 15
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) 14
CWE-617 Reachable Assertion 14
CWE-522 Insufficiently Protected Credentials 14
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere 14
CWE-426 Untrusted Search Path 14
CWE-307 Improper Restriction of Excessive Authentication Attempts 14
CWE-201 Insertion of Sensitive Information Into Sent Data 14
CWE-23 Relative Path Traversal 13
CWE-789 Memory Allocation with Excessive Size Value 12
CWE-754 Improper Check for Unusual or Exceptional Conditions 11
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') 11
CWE-346 Origin Validation Error 11
CWE-345 Insufficient Verification of Data Authenticity 11
CWE-312 Cleartext Storage of Sensitive Information 11
CWE-250 Execution with Unnecessary Privileges 11
CWE-209 Generation of Error Message Containing Sensitive Information 11
CWE-1284 Improper Validation of Specified Quantity in Input 11
CWE-640 Weak Password Recovery Mechanism for Forgotten Password 10
CWE-327 Use of a Broken or Risky Cryptographic Algorithm 10
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine 10
CWE-1333 Inefficient Regular Expression Complexity 10
CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') 9
CWE-401 Missing Release of Memory after Effective Lifetime 9
CWE-347 Improper Verification of Cryptographic Signature 9
CWE-319 Cleartext Transmission of Sensitive Information 9
CWE-126 Buffer Over-read 9
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') 8
CWE-829 Inclusion of Functionality from Untrusted Control Sphere 8
CWE-704 Incorrect Type Conversion or Cast 8
CWE-611 Improper Restriction of XML External Entity Reference 8
CWE-330 Use of Insufficiently Random Values 8
CWE-191 Integer Underflow (Wrap or Wraparound) 8
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') 8
CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') 7
CWE-693 Protection Mechanism Failure 7
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 7
CWE-321 Use of Hard-coded Cryptographic Key 7
CWE-204 Observable Response Discrepancy 7
CWE-129 Improper Validation of Array Index 7
CWE-494 Download of Code Without Integrity Check 6
CWE-451 User Interface (UI) Misrepresentation of Critical Information 6
CWE-359 Exposure of Private Personal Information to an Unauthorized Actor 6
CWE-358 Improperly Implemented Security Check for Standard 6
CWE-290 Authentication Bypass by Spoofing 6
CWE-203 Observable Discrepancy 6
CWE-1392 Use of Default Credentials 6
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') 5
CWE-674 Uncontrolled Recursion 5
CWE-668 Exposure of Resource to Wrong Sphere 5
CWE-457 Use of Uninitialized Variable 5
CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') 5
CWE-384 Session Fixation 5
CWE-331 Insufficient Entropy 5
CWE-256 Plaintext Storage of a Password 5
CWE-248 Uncaught Exception 5
CWE-1220 Insufficient Granularity of Access Control 5
CWE-1004 Sensitive Cookie Without 'HttpOnly' Flag 5
CWE-943 Improper Neutralization of Special Elements in Data Query Logic 4
CWE-807 Reliance on Untrusted Inputs in a Security Decision 4
CWE-755 Improper Handling of Exceptional Conditions 4
CWE-698 Execution After Redirect (EAR) 4
CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax 4
CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory 4
CWE-459 Incomplete Cleanup 4
CWE-407 Inefficient Algorithmic Complexity 4
CWE-340 Generation of Predictable Numbers or Identifiers 4
CWE-267 Privilege Defined With Unsafe Actions 4
CWE-208 Observable Timing Discrepancy 4
CWE-178 Improper Handling of Case Sensitivity 4
CWE-1390 Weak Authentication 4
CWE-1188 Initialization of a Resource with an Insecure Default 4
CWE-117 Improper Output Neutralization for Logs 4
CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains 3
CWE-940 Improper Verification of Source of a Communication Channel 3
CWE-822 Untrusted Pointer Dereference 3
CWE-805 Buffer Access with Incorrect Length Value 3
CWE-749 Exposed Dangerous Method or Function 3
CWE-703 Improper Check or Handling of Exceptional Conditions 3
CWE-665 Improper Initialization 3
CWE-648 Incorrect Use of Privileged APIs 3
CWE-627 Dynamic Variable Evaluation 3
CWE-620 Unverified Password Change 3
CWE-61 UNIX Symbolic Link (Symlink) Following 3
CWE-552 Files or Directories Accessible to External Parties 3
CWE-441 Unintended Proxy or Intermediary ('Confused Deputy') 3
CWE-436 Interpretation Conflict 3
CWE-415 Double Free 3
CWE-405 Asymmetric Resource Consumption (Amplification) 3
CWE-36 Absolute Path Traversal 3
CWE-354 Improper Validation of Integrity Check Value 3
CWE-35 Path Traversal: '.../...//' 3
CWE-283 Unverified Ownership 3
CWE-280 Improper Handling of Insufficient Permissions or Privileges 3
CWE-259 Use of Hard-coded Password 3
CWE-184 Incomplete List of Disallowed Inputs 3
CWE-134 Use of Externally-Controlled Format String 3
CWE-1287 Improper Validation of Specified Type of Input 3
CWE-1286 Improper Validation of Syntactic Correctness of Input 3
CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') 3
CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') 2
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes 2
CWE-913 Improper Control of Dynamically-Managed Code Resources 2
CWE-908 Use of Uninitialized Resource 2
CWE-86 Improper Neutralization of Invalid Characters in Identifiers in Web Pages 2
CWE-788 Access of Memory Location After End of Buffer 2
CWE-774 Allocation of File Descriptors or Handles Without Limits or Throttling 2
CWE-705 Incorrect Control Flow Scoping 2
CWE-682 Incorrect Calculation 2
CWE-681 Incorrect Conversion between Numeric Types 2
CWE-680 Integer Overflow to Buffer Overflow 2
CWE-669 Incorrect Resource Transfer Between Spheres 2
CWE-653 Improper Isolation or Compartmentalization 2
CWE-610 Externally Controlled Reference to a Resource in Another Sphere 2
CWE-548 Exposure of Information Through Directory Listing 2
CWE-524 Use of Cache Containing Sensitive Information 2
CWE-521 Weak Password Requirements 2
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) 2
CWE-379 Creation of Temporary File in Directory with Insecure Permissions 2
CWE-369 Divide By Zero 2
CWE-356 Product UI does not Warn User of Unsafe Actions 2
CWE-350 Reliance on Reverse DNS Resolution for a Security-Critical Action 2
CWE-322 Key Exchange without Entity Authentication 2
CWE-305 Authentication Bypass by Primary Weakness 2
CWE-303 Incorrect Implementation of Authentication Algorithm 2
CWE-296 Improper Following of a Certificate's Chain of Trust 2
CWE-294 Authentication Bypass by Capture-replay 2
CWE-29 Path Traversal: '\..\filename' 2
CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer 2
CWE-193 Off-by-one Error 2
CWE-185 Incorrect Regular Expression 2
CWE-180 Incorrect Behavior Order: Validate Before Canonicalize 2
CWE-170 Improper Null Termination 2
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences 2
CWE-15 External Control of System or Configuration Setting 2
CWE-1394 Use of Default Cryptographic Key 2
CWE-1393 Use of Default Password 2
CWE-1385 Missing Origin Validation in WebSockets 2
CWE-131 Incorrect Calculation of Buffer Size 2
CWE-1289 Improper Validation of Unsafe Equivalence in Input 2
CWE-1275 Sensitive Cookie with Improper SameSite Attribute 2
CWE-1260 Improper Handling of Overlap Between Protected Memory Ranges 2
CWE-124 Buffer Underwrite ('Buffer Underflow') 2
CWE-1236 Improper Neutralization of Formula Elements in a CSV File 2
CWE-1191 On-Chip Debug and Test Interface With Improper Access Control 2
CWE-1021 Improper Restriction of Rendered UI Layers or Frames 2
CWE-96 Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') 1
CWE-939 Improper Authorization in Handler for Custom URL Scheme 1
CWE-922 Insecure Storage of Sensitive Information 1
CWE-912 Hidden Functionality 1
CWE-91 XML Injection (aka Blind XPath Injection) 1
CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') 1
CWE-87 Improper Neutralization of Alternate XSS Syntax 1
CWE-841 Improper Enforcement of Behavioral Workflow 1
CWE-834 Excessive Iteration 1
CWE-824 Access of Uninitialized Pointer 1
CWE-823 Use of Out-of-range Pointer Offset 1
CWE-799 Improper Control of Interaction Frequency 1
CWE-791 Incomplete Filtering of Special Elements 1
CWE-783 Operator Precedence Logic Error 1
CWE-782 Exposed IOCTL with Insufficient Access Control 1
CWE-778 Insufficient Logging 1
CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') 1
CWE-772 Missing Release of Resource after Effective Lifetime 1
CWE-759 Use of a One-Way Hash without a Salt 1
CWE-75 Failure to Sanitize Special Elements into a Different Plane (Special Element Injection) 1
CWE-707 Improper Neutralization 1
CWE-706 Use of Incorrectly-Resolved Name or Reference 1
CWE-697 Incorrect Comparison 1
CWE-670 Always-Incorrect Control Flow Implementation 1
CWE-67 Improper Handling of Windows Device Names 1
CWE-663 Use of a Non-reentrant Function in a Concurrent Context 1
CWE-647 Use of Non-Canonical URL Paths for Authorization Decisions 1
CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection') 1
CWE-628 Function Call with Incorrectly Specified Arguments 1
CWE-624 Executable Regular Expression Error 1
CWE-614 Sensitive Cookie in HTTPS Session Without 'Secure' Attribute 1
CWE-606 Unchecked Input for Loop Condition 1
CWE-605 Multiple Binds to the Same Port 1
CWE-602 Client-Side Enforcement of Server-Side Security 1
CWE-599 Missing Validation of OpenSSL Certificate 1
CWE-573 Improper Following of Specification by Caller 1
CWE-566 Authorization Bypass Through User-Controlled SQL Primary Key 1
CWE-539 Use of Persistent Cookies Containing Sensitive Information 1
CWE-530 Exposure of Backup File to an Unauthorized Control Sphere 1
CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable 1
CWE-525 Use of Web Browser Cache Containing Sensitive Information 1
CWE-506 Embedded Malicious Code 1
CWE-501 Trust Boundary Violation 1
CWE-488 Exposure of Data Element to Wrong Session 1
CWE-477 Use of Obsolete Function 1
CWE-473 PHP External Variable Modification 1
CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') 1
CWE-425 Direct Request ('Forced Browsing') 1
CWE-420 Unprotected Alternate Channel 1
CWE-412 Unrestricted Externally Accessible Lock 1
CWE-410 Insufficient Resource Pool 1
CWE-40 Path Traversal: '\\UNC\share\name\' (Windows UNC Share) 1
CWE-396 Declaration of Catch for Generic Exception 1
CWE-394 Unexpected Status Code or Return Value 1
CWE-390 Detection of Error Condition Without Action 1
CWE-378 Creation of Temporary File With Insecure Permissions 1
CWE-377 Insecure Temporary File 1
CWE-366 Race Condition within a Thread 1
CWE-353 Missing Support for Integrity Check 1
CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data 1
CWE-337 Predictable Seed in Pseudo-Random Number Generator (PRNG) 1
CWE-336 Same Seed in Pseudo-Random Number Generator (PRNG) 1
CWE-328 Use of Weak Hash 1
CWE-326 Inadequate Encryption Strength 1
CWE-323 Reusing a Nonce, Key Pair in Encryption 1
CWE-317 Cleartext Storage of Sensitive Information in GUI 1
CWE-316 Cleartext Storage of Sensitive Information in Memory 1
CWE-302 Authentication Bypass by Assumed-Immutable Data 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-277 Insecure Inherited Permissions 1
CWE-272 Least Privilege Violation 1
CWE-270 Privilege Context Switching Error 1
CWE-261 Weak Encoding for Password 1
CWE-26 Path Traversal: '/dir/../filename' 1
CWE-257 Storing Passwords in a Recoverable Format 1
CWE-244 Improper Clearing of Heap Memory Before Release ('Heap Inspection') 1
CWE-233 Improper Handling of Parameters 1
CWE-231 Improper Handling of Extra Values 1
CWE-230 Improper Handling of Missing Values 1
CWE-229 Improper Handling of Values 1
CWE-215 Insertion of Sensitive Information Into Debugging Code 1
CWE-213 Exposure of Sensitive Information Due to Incompatible Policies 1
CWE-195 Signed to Unsigned Conversion Error 1
CWE-183 Permissive List of Allowed Inputs 1
CWE-176 Improper Handling of Unicode Encoding 1
CWE-166 Improper Handling of Missing Special Element 1
CWE-159 Improper Handling of Invalid Use of Special Elements 1
CWE-146 Improper Neutralization of Expression/Command Delimiters 1
CWE-1420 Exposure of Sensitive Information during Transient Execution 1
CWE-1391 Use of Weak Credentials 1
CWE-1327 Binding to an Unrestricted IP Address 1
CWE-1325 Improperly Controlled Sequential Memory Allocation 1
CWE-1301 Insufficient or Incomplete Data Removal within Hardware Component 1
CWE-130 Improper Handling of Length Parameter Inconsistency 1
CWE-1299 Missing Protection Mechanism for Alternate Hardware Interface 1
CWE-1288 Improper Validation of Consistency within Input 1
CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input 1
CWE-1282 Assumed-Immutable Data is Stored in Writable Memory 1
CWE-1274 Improper Access Control for Volatile Memory Containing Boot Code 1
CWE-1262 Improper Access Control for Register Interface 1
CWE-1254 Incorrect Comparison Logic Granularity 1
CWE-1245 Improper Finite State Machines (FSMs) in Hardware Logic 1
CWE-1241 Use of Predictable Algorithm in Random Number Generator 1
CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation 1
CWE-1231 Improper Prevention of Lock Bit Modification 1
CWE-123 Write-what-where Condition 1
CWE-1204 Generation of Weak Initialization Vector (IV) 1
CWE-1189 Improper Isolation of Shared Resources on System-on-a-Chip (SoC) 1
CWE-1125 Excessive Attack Surface 1