Common Weakness Enumeration

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

Reset

774 CWEs

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 27657
CWE-122 Heap-based Buffer Overflow Allowed 13290
CWE-416 Use After Free Allowed 12694
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 11474
CWE-125 Out-of-bounds Read Allowed 9320
CWE-862 Missing Authorization Allowed-with-Review 8901
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 6012
CWE-20 Improper Input Validation Discouraged 5909
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 5656
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 5499
CWE-284 Improper Access Control Discouraged 5231
CWE-121 Stack-based Buffer Overflow Allowed 5099
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 4869
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 4523
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 4265
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 4150
CWE-918 Server-Side Request Forgery (SSRF) Allowed 4116
CWE-787 Out-of-bounds Write Allowed-with-Review 4016
CWE-502 Deserialization of Untrusted Data Allowed 3780
CWE-190 Integer Overflow or Wraparound Allowed 3638
CWE-863 Incorrect Authorization Allowed-with-Review 3290
CWE-306 Missing Authentication for Critical Function Allowed 2924
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 2907
CWE-400 Uncontrolled Resource Consumption Discouraged 2782
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 2716
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 2710
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 2556
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 2546
CWE-287 Improper Authentication Discouraged 2541
CWE-285 Improper Authorization Discouraged 2131
CWE-476 NULL Pointer Dereference Allowed 2118
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 2091
CWE-59 Improper Link Resolution Before File Access ('Link Following') Allowed 1913
CWE-269 Improper Privilege Management Discouraged 1803
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 1583
CWE-126 Buffer Over-read Allowed 1512
CWE-191 Integer Underflow (Wrap or Wraparound) Allowed 1476
CWE-908 Use of Uninitialized Resource Allowed 1349
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 1325
CWE-266 Incorrect Privilege Assignment Allowed 1234
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 1081
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 1077
CWE-23 Relative Path Traversal Allowed 1020
CWE-295 Improper Certificate Validation Allowed 1003
CWE-347 Improper Verification of Cryptographic Signature Allowed 943
CWE-822 Untrusted Pointer Dereference Allowed 942
CWE-73 External Control of File Name or Path Allowed 935
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 915
CWE-693 Protection Mechanism Failure Discouraged 911
CWE-532 Insertion of Sensitive Information into Log File Allowed 826