Common Weakness Enumeration

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

Reset

765 CWEs

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 24324
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 10200
CWE-862 Missing Authorization Allowed-with-Review 7131
CWE-416 Use After Free Allowed 5745
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 5192
CWE-122 Heap-based Buffer Overflow Allowed 4747
CWE-125 Out-of-bounds Read Allowed 4643
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 4605
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 4327
CWE-20 Improper Input Validation Discouraged 4284
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 3985
CWE-284 Improper Access Control Discouraged 3747
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 3472
CWE-121 Stack-based Buffer Overflow Allowed 3344
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 3184
CWE-787 Out-of-bounds Write Allowed-with-Review 2874
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 2678
CWE-918 Server-Side Request Forgery (SSRF) Allowed 2492
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 2416
CWE-502 Deserialization of Untrusted Data Allowed 2396
CWE-863 Incorrect Authorization Allowed-with-Review 2166
CWE-400 Uncontrolled Resource Consumption Discouraged 2040
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 1929
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 1915
CWE-287 Improper Authentication Discouraged 1813
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 1799
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 1796
CWE-306 Missing Authentication for Critical Function Allowed 1738
CWE-190 Integer Overflow or Wraparound Allowed 1691
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 1594
CWE-285 Improper Authorization Discouraged 1556
CWE-476 NULL Pointer Dereference Allowed 1484
CWE-269 Improper Privilege Management Discouraged 1347
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 1267
CWE-266 Incorrect Privilege Assignment Allowed 1004
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 906
CWE-59 Improper Link Resolution Before File Access ('Link Following') Allowed 873
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 786
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 754
CWE-126 Buffer Over-read Allowed 718
CWE-532 Insertion of Sensitive Information into Log File Allowed 703
CWE-295 Improper Certificate Validation Allowed 694
CWE-798 Use of Hard-coded Credentials Allowed-with-Review 660
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 617
CWE-73 External Control of File Name or Path Allowed 602
CWE-23 Relative Path Traversal Allowed 600
CWE-732 Incorrect Permission Assignment for Critical Resource Allowed-with-Review 589
CWE-288 Authentication Bypass Using an Alternate Path or Channel Allowed 582
CWE-276 Incorrect Default Permissions Allowed 572
CWE-404 Improper Resource Shutdown or Release Allowed-with-Review 549