Common Weakness Enumeration

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

Reset

770 CWEs

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 26024
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 10936
CWE-416 Use After Free Allowed 9798
CWE-122 Heap-based Buffer Overflow Allowed 9274
CWE-862 Missing Authorization Allowed-with-Review 8144
CWE-125 Out-of-bounds Read Allowed 7130
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 5433
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 5380
CWE-20 Improper Input Validation Discouraged 5116
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 5024
CWE-284 Improper Access Control Discouraged 4635
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 4615
CWE-121 Stack-based Buffer Overflow Allowed 4311
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 4054
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 3709
CWE-787 Out-of-bounds Write Allowed-with-Review 3368
CWE-918 Server-Side Request Forgery (SSRF) Allowed 3341
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 3286
CWE-502 Deserialization of Untrusted Data Allowed 3118
CWE-863 Incorrect Authorization Allowed-with-Review 2798
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 2796
CWE-190 Integer Overflow or Wraparound Allowed 2746
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 2582
CWE-400 Uncontrolled Resource Consumption Discouraged 2438
CWE-306 Missing Authentication for Critical Function Allowed 2394
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 2344
CWE-287 Improper Authentication Discouraged 2252
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 2214
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 2195
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 2001
CWE-285 Improper Authorization Discouraged 1912
CWE-476 NULL Pointer Dereference Allowed 1790
CWE-269 Improper Privilege Management Discouraged 1630
CWE-59 Improper Link Resolution Before File Access ('Link Following') Allowed 1461
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 1290
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 1229
CWE-126 Buffer Over-read Allowed 1146
CWE-266 Incorrect Privilege Assignment Allowed 1141
CWE-908 Use of Uninitialized Resource Allowed 1019
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 1009
CWE-191 Integer Underflow (Wrap or Wraparound) Allowed 1008
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 896
CWE-295 Improper Certificate Validation Allowed 866
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 852
CWE-23 Relative Path Traversal Allowed 829
CWE-73 External Control of File Name or Path Allowed 786
CWE-532 Insertion of Sensitive Information into Log File Allowed 784
CWE-347 Improper Verification of Cryptographic Signature Allowed 772
CWE-693 Protection Mechanism Failure Discouraged 748
CWE-798 Use of Hard-coded Credentials Allowed-with-Review 744