Common Weakness Enumeration

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

Reset

785 CWEs

API response
CWE Name Mapping usage Occurrences
CWE-122 Heap-based Buffer Overflow Allowed 33723
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 32144
CWE-416 Use After Free Allowed 28342
CWE-125 Out-of-bounds Read Allowed 21003
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 13439
CWE-862 Missing Authorization Allowed-with-Review 12619
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 7989
CWE-121 Stack-based Buffer Overflow Allowed 7943
CWE-20 Improper Input Validation Discouraged 7795
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 7042
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 6980
CWE-190 Integer Overflow or Wraparound Allowed 6660
CWE-284 Improper Access Control Discouraged 6386
CWE-918 Server-Side Request Forgery (SSRF) Allowed 5961
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 5885
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 5876
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 5755
CWE-787 Out-of-bounds Write Allowed-with-Review 5659
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 5468
CWE-863 Incorrect Authorization Allowed-with-Review 5204
CWE-502 Deserialization of Untrusted Data Allowed 5183
CWE-306 Missing Authentication for Critical Function Allowed 4666
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 4133
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 3858
CWE-400 Uncontrolled Resource Consumption Discouraged 3675
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 3419
CWE-287 Improper Authentication Discouraged 3352
CWE-476 NULL Pointer Dereference Allowed 3309
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 3273
CWE-59 Improper Link Resolution Before File Access ('Link Following') Allowed 3242
CWE-126 Buffer Over-read Allowed 3077
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 3068
CWE-908 Use of Uninitialized Resource Allowed 2742
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 2723
CWE-191 Integer Underflow (Wrap or Wraparound) Allowed 2717
CWE-285 Improper Authorization Discouraged 2672
CWE-269 Improper Privilege Management Discouraged 2421
CWE-822 Untrusted Pointer Dereference Allowed 2375
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 2262
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition Allowed 2027
CWE-415 Double Free Allowed 2002
CWE-347 Improper Verification of Cryptographic Signature Allowed 1575
CWE-266 Incorrect Privilege Assignment Allowed 1570
CWE-295 Improper Certificate Validation Allowed 1498
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 1433
CWE-73 External Control of File Name or Path Allowed 1422
CWE-23 Relative Path Traversal Allowed 1402
CWE-197 Numeric Truncation Error Allowed 1390
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 1352
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere Allowed 1336