CWE List

ID Name Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 342
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') 218
CWE-862 Missing Authorization 201
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') 153
CWE-434 Unrestricted Upload of File with Dangerous Type 72
CWE-352 Cross-Site Request Forgery (CSRF) 67
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 63
CWE-94 Improper Control of Generation of Code ('Code Injection') 58
CWE-122 Heap-based Buffer Overflow 56
CWE-284 Improper Access Control 54
CWE-416 Use After Free 53
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor 53
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') 46
CWE-639 Authorization Bypass Through User-Controlled Key 42
CWE-306 Missing Authentication for Critical Function 42
CWE-20 Improper Input Validation 42
CWE-125 Out-of-bounds Read 40
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 39
CWE-121 Stack-based Buffer Overflow 39
CWE-285 Improper Authorization 37
CWE-918 Server-Side Request Forgery (SSRF) 35
CWE-863 Incorrect Authorization 34
CWE-502 Deserialization of Untrusted Data 34
CWE-269 Improper Privilege Management 34
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer 31
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') 30
CWE-787 Out-of-bounds Write 28
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') 28
CWE-770 Allocation of Resources Without Limits or Throttling 24
CWE-266 Incorrect Privilege Assignment 23
CWE-427 Uncontrolled Search Path Element 22
CWE-276 Incorrect Default Permissions 21
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') 20
CWE-73 External Control of File Name or Path 20
CWE-822 Untrusted Pointer Dereference 18
CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) 17
CWE-476 NULL Pointer Dereference 16
CWE-190 Integer Overflow or Wraparound 16
CWE-201 Insertion of Sensitive Information Into Sent Data 15
CWE-732 Incorrect Permission Assignment for Critical Resource 14
CWE-611 Improper Restriction of XML External Entity Reference 14
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') 12
CWE-59 Improper Link Resolution Before File Access ('Link Following') 12
CWE-400 Uncontrolled Resource Consumption 12
CWE-287 Improper Authentication 11
CWE-532 Insertion of Sensitive Information into Log File 10
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere 10
CWE-295 Improper Certificate Validation 10
CWE-23 Relative Path Traversal 10
CWE-191 Integer Underflow (Wrap or Wraparound) 10
CWE-825 Expired Pointer Dereference 9
CWE-693 Protection Mechanism Failure 9
CWE-415 Double Free 9
CWE-1284 Improper Validation of Specified Quantity in Input 9
CWE-798 Use of Hard-coded Credentials 8
CWE-522 Insufficiently Protected Credentials 8
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition 8
CWE-1287 Improper Validation of Specified Type of Input 8
CWE-754 Improper Check for Unusual or Exceptional Conditions 7
CWE-694 Use of Multiple Resources with Duplicate Identifier 7
CWE-602 Client-Side Enforcement of Server-Side Security 7
CWE-552 Files or Directories Accessible to External Parties 7
CWE-428 Unquoted Search Path or Element 7
CWE-426 Untrusted Search Path 7
CWE-35 Path Traversal: '.../...//' 7
CWE-327 Use of a Broken or Risky Cryptographic Algorithm 7
CWE-321 Use of Hard-coded Cryptographic Key 7
CWE-288 Authentication Bypass Using an Alternate Path or Channel 7
CWE-250 Execution with Unnecessary Privileges 7
CWE-126 Buffer Over-read 7
CWE-61 UNIX Symbolic Link (Symlink) Following 6
CWE-359 Exposure of Private Personal Information to an Unauthorized Actor 6
CWE-307 Improper Restriction of Excessive Authentication Attempts 6
CWE-129 Improper Validation of Array Index 6
CWE-640 Weak Password Recovery Mechanism for Forgotten Password 5
CWE-613 Insufficient Session Expiration 5
CWE-404 Improper Resource Shutdown or Release 5
CWE-363 Race Condition Enabling Link Following 5
CWE-347 Improper Verification of Cryptographic Signature 5
CWE-345 Insufficient Verification of Data Authenticity 5
CWE-256 Plaintext Storage of a Password 5
CWE-209 Generation of Error Message Containing Sensitive Information 5
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') 4
CWE-829 Inclusion of Functionality from Untrusted Control Sphere 4
CWE-807 Reliance on Untrusted Inputs in a Security Decision 4
CWE-805 Buffer Access with Incorrect Length Value 4
CWE-674 Uncontrolled Recursion 4
CWE-653 Improper Isolation or Compartmentalization 4
CWE-617 Reachable Assertion 4
CWE-489 Active Debug Code 4
CWE-290 Authentication Bypass by Spoofing 4
CWE-270 Privilege Context Switching Error 4
CWE-226 Sensitive Information in Resource Not Removed Before Reuse 4
CWE-1427 Improper Neutralization of Input Used for LLM Prompting 4
CWE-131 Incorrect Calculation of Buffer Size 4
CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') 3
CWE-824 Access of Uninitialized Pointer 3
CWE-772 Missing Release of Resource after Effective Lifetime 3
CWE-644 Improper Neutralization of HTTP Headers for Scripting Syntax 3
CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory 3
CWE-407 Inefficient Algorithmic Complexity 3
CWE-36 Absolute Path Traversal 3
CWE-354 Improper Validation of Integrity Check Value 3
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) 3
CWE-330 Use of Insufficiently Random Values 3
CWE-325 Missing Cryptographic Step 3
CWE-316 Cleartext Storage of Sensitive Information in Memory 3
CWE-294 Authentication Bypass by Capture-replay 3
CWE-281 Improper Preservation of Permissions 3
CWE-280 Improper Handling of Insufficient Permissions or Privileges 3
CWE-277 Insecure Inherited Permissions 3
CWE-212 Improper Removal of Sensitive Information Before Storage or Transfer 3
CWE-203 Observable Discrepancy 3
CWE-1426 Improper Validation of Generative AI Output 3
CWE-1390 Weak Authentication 3
CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine 3
CWE-1327 Binding to an Unrestricted IP Address 3
CWE-116 Improper Encoding or Escaping of Output 3
CWE-114 Process Control 3
CWE-1021 Improper Restriction of Rendered UI Layers or Frames 3
CWE-99 Improper Control of Resource Identifiers ('Resource Injection') 2
CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') 2
CWE-943 Improper Neutralization of Special Elements in Data Query Logic 2
CWE-91 XML Injection (aka Blind XPath Injection) 2
CWE-908 Use of Uninitialized Resource 2
CWE-87 Improper Neutralization of Alternate XSS Syntax 2
CWE-830 Inclusion of Web Functionality from an Untrusted Source 2
CWE-789 Memory Allocation with Excessive Size Value 2
CWE-782 Exposed IOCTL with Insufficient Access Control 2
CWE-707 Improper Neutralization 2
CWE-703 Improper Check or Handling of Exceptional Conditions 2
CWE-697 Incorrect Comparison 2
CWE-684 Incorrect Provision of Specified Functionality 2
CWE-598 Use of GET Request Method With Sensitive Query Strings 2
CWE-523 Unprotected Transport of Credentials 2
CWE-521 Weak Password Requirements 2
CWE-436 Interpretation Conflict 2
CWE-425 Direct Request ('Forced Browsing') 2
CWE-420 Unprotected Alternate Channel 2
CWE-401 Missing Release of Memory after Effective Lifetime 2
CWE-377 Insecure Temporary File 2
CWE-305 Authentication Bypass by Primary Weakness 2
CWE-303 Incorrect Implementation of Authentication Algorithm 2
CWE-29 Path Traversal: '\..\filename' 2
CWE-289 Authentication Bypass by Alternate Name 2
CWE-283 Unverified Ownership 2
CWE-259 Use of Hard-coded Password 2
CWE-248 Uncaught Exception 2
CWE-214 Invocation of Process Using Visible Sensitive Information 2
CWE-204 Observable Response Discrepancy 2
CWE-1333 Inefficient Regular Expression Complexity 2
CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input 2
CWE-1188 Initialization of a Resource with an Insecure Default 2
CWE-941 Incorrectly Specified Destination in a Communication Channel 1
CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') 1
CWE-923 Improper Restriction of Communication Channel to Intended Endpoints 1
CWE-922 Insecure Storage of Sensitive Information 1
CWE-916 Use of Password Hash With Insufficient Computational Effort 1
CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes 1
CWE-913 Improper Control of Dynamically-Managed Code Resources 1
CWE-88 Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') 1
CWE-841 Improper Enforcement of Behavioral Workflow 1
CWE-823 Use of Out-of-range Pointer Offset 1
CWE-749 Exposed Dangerous Method or Function 1
CWE-710 Improper Adherence to Coding Standards 1
CWE-706 Use of Incorrectly-Resolved Name or Reference 1
CWE-691 Insufficient Control Flow Management 1
CWE-690 Unchecked Return Value to NULL Pointer Dereference 1
CWE-670 Always-Incorrect Control Flow Implementation 1
CWE-67 Improper Handling of Windows Device Names 1
CWE-665 Improper Initialization 1
CWE-648 Incorrect Use of Privileged APIs 1
CWE-647 Use of Non-Canonical URL Paths for Authorization Decisions 1
CWE-646 Reliance on File Name or Extension of Externally-Supplied File 1
CWE-610 Externally Controlled Reference to a Resource in Another Sphere 1
CWE-603 Use of Client-Side Authentication 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-525 Use of Web Browser Cache Containing Sensitive Information 1
CWE-524 Use of Cache Containing Sensitive Information 1
CWE-501 Trust Boundary Violation 1
CWE-494 Download of Code Without Integrity Check 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-459 Incomplete Cleanup 1
CWE-457 Use of Uninitialized Variable 1
CWE-451 User Interface (UI) Misrepresentation of Critical Information 1
CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') 1
CWE-424 Improper Protection of Alternate Path 1
CWE-413 Improper Resource Locking 1
CWE-409 Improper Handling of Highly Compressed Data (Data Amplification) 1
CWE-402 Transmission of Private Resources into a New Sphere ('Resource Leak') 1
CWE-394 Unexpected Status Code or Return Value 1
CWE-390 Detection of Error Condition Without Action 1
CWE-358 Improperly Implemented Security Check for Standard 1
CWE-351 Insufficient Type Distinction 1
CWE-346 Origin Validation Error 1
CWE-340 Generation of Predictable Numbers or Identifiers 1
CWE-335 Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) 1
CWE-333 Improper Handling of Insufficient Entropy in TRNG 1
CWE-326 Inadequate Encryption Strength 1
CWE-324 Use of a Key Past its Expiration Date 1
CWE-323 Reusing a Nonce, Key Pair in Encryption 1
CWE-319 Cleartext Transmission of Sensitive Information 1
CWE-312 Cleartext Storage of Sensitive Information 1
CWE-302 Authentication Bypass by Assumed-Immutable Data 1
CWE-279 Incorrect Execution-Assigned Permissions 1
CWE-267 Privilege Defined With Unsafe Actions 1
CWE-260 Password in Configuration File 1
CWE-252 Unchecked Return Value 1
CWE-244 Improper Clearing of Heap Memory Before Release ('Heap Inspection') 1
CWE-240 Improper Handling of Inconsistent Structural Elements 1
CWE-24 Path Traversal: '../filedir' 1
CWE-215 Insertion of Sensitive Information Into Debugging Code 1
CWE-208 Observable Timing Discrepancy 1
CWE-202 Exposure of Sensitive Information Through Data Queries 1
CWE-180 Incorrect Behavior Order: Validate Before Canonicalize 1
CWE-177 Improper Handling of URL Encoding (Hex Encoding) 1
CWE-158 Improper Neutralization of Null Byte or NUL Character 1
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences 1
CWE-15 External Control of System or Configuration Setting 1
CWE-1392 Use of Default Credentials 1
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') 1
CWE-1295 Debug Messages Revealing Unnecessary Information 1
CWE-1275 Sensitive Cookie with Improper SameSite Attribute 1
CWE-1242 Inclusion of Undocumented Features or Chicken Bits 1
CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation 1
CWE-124 Buffer Underwrite ('Buffer Underflow') 1
CWE-1236 Improper Neutralization of Formula Elements in a CSV File 1
CWE-1230 Exposure of Sensitive Information Through Metadata 1
CWE-123 Write-what-where Condition 1
CWE-1220 Insufficient Granularity of Access Control 1
CWE-117 Improper Output Neutralization for Logs 1
CWE-1104 Use of Unmaintained Third Party Components 1