Common Weakness Enumeration

Browse CWEs ranked by the number of vulnerabilities referencing them, and pivot to weakness details, mitigations, and related attack patterns.

Reset

309 CWEs ranked in 2026-02

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 650
CWE-862 Missing Authorization Allowed-with-Review 308
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 275
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 155
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 143
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 138
CWE-121 Stack-based Buffer Overflow Allowed 134
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 124
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 122
CWE-125 Out-of-bounds Read Allowed 122
CWE-787 Out-of-bounds Write Allowed-with-Review 99
CWE-918 Server-Side Request Forgery (SSRF) Allowed 97
CWE-284 Improper Access Control Discouraged 95
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 93
CWE-122 Heap-based Buffer Overflow Allowed 91
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 90
CWE-502 Deserialization of Untrusted Data Allowed 81
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 77
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 75
CWE-306 Missing Authentication for Critical Function Allowed 71
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 70
CWE-416 Use After Free Allowed 65
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 62
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 62
CWE-20 Improper Input Validation Discouraged 61
CWE-863 Incorrect Authorization Allowed-with-Review 59
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 59
CWE-476 NULL Pointer Dereference Allowed 57
CWE-266 Incorrect Privilege Assignment Allowed 53
CWE-428 Unquoted Search Path or Element Allowed 46
CWE-287 Improper Authentication Discouraged 40
CWE-400 Uncontrolled Resource Consumption Discouraged 38
CWE-285 Improper Authorization Discouraged 36
CWE-754 Improper Check for Unusual or Exceptional Conditions Allowed-with-Review 33
CWE-1333 Inefficient Regular Expression Complexity Allowed 33
CWE-190 Integer Overflow or Wraparound Allowed 31
CWE-116 Improper Encoding or Escaping of Output Allowed-with-Review 31
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 30
CWE-295 Improper Certificate Validation Allowed 28
CWE-269 Improper Privilege Management Discouraged 28
CWE-73 External Control of File Name or Path Allowed 27
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 26
CWE-404 Improper Resource Shutdown or Release Allowed-with-Review 24
CWE-532 Insertion of Sensitive Information into Log File Allowed 23
CWE-276 Incorrect Default Permissions Allowed 23
CWE-613 Insufficient Session Expiration Allowed-with-Review 21
CWE-798 Use of Hard-coded Credentials Allowed-with-Review 19
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 19
CWE-185 Incorrect Regular Expression Allowed-with-Review 19
CWE-776 Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion') Allowed 17