Common Weakness Enumeration

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

Reset

768 CWEs

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 25141
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 10569
CWE-416 Use After Free Allowed 7616
CWE-862 Missing Authorization Allowed-with-Review 7506
CWE-122 Heap-based Buffer Overflow Allowed 6242
CWE-125 Out-of-bounds Read Allowed 5557
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 5283
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 5018
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 4563
CWE-20 Improper Input Validation Discouraged 4563
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 4484
CWE-284 Improper Access Control Discouraged 4222
CWE-121 Stack-based Buffer Overflow Allowed 3719
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 3714
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 3434
CWE-787 Out-of-bounds Write Allowed-with-Review 3066
CWE-918 Server-Side Request Forgery (SSRF) Allowed 2915
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 2719
CWE-502 Deserialization of Untrusted Data Allowed 2660
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 2560
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 2503
CWE-863 Incorrect Authorization Allowed-with-Review 2416
CWE-400 Uncontrolled Resource Consumption Discouraged 2241
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 2106
CWE-190 Integer Overflow or Wraparound Allowed 2105
CWE-287 Improper Authentication Discouraged 2017
CWE-306 Missing Authentication for Critical Function Allowed 2005
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 1968
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 1955
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 1950
CWE-285 Improper Authorization Discouraged 1773
CWE-476 NULL Pointer Dereference Allowed 1592
CWE-269 Improper Privilege Management Discouraged 1466
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 1275
CWE-266 Incorrect Privilege Assignment Allowed 1077
CWE-59 Improper Link Resolution Before File Access ('Link Following') Allowed 1051
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 978
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 976
CWE-126 Buffer Over-read Allowed 881
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 818
CWE-295 Improper Certificate Validation Allowed 793
CWE-908 Use of Uninitialized Resource Allowed 777
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 772
CWE-532 Insertion of Sensitive Information into Log File Allowed 743
CWE-23 Relative Path Traversal Allowed 713
CWE-798 Use of Hard-coded Credentials Allowed-with-Review 695
CWE-73 External Control of File Name or Path Allowed 695
CWE-191 Integer Underflow (Wrap or Wraparound) Allowed 657
CWE-347 Improper Verification of Cryptographic Signature Allowed 643
CWE-288 Authentication Bypass Using an Alternate Path or Channel Allowed 643