Common Weakness Enumeration
Browse CWEs ranked by the number of vulnerabilities referencing them, and pivot to weakness details, mitigations, and related attack patterns.
779 CWEs
API response| CWE | Name | Mapping usage | Occurrences |
|---|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | Allowed | 30079 |
| CWE-122 | Heap-based Buffer Overflow | Allowed | 25284 |
| CWE-416 | Use After Free | Allowed | 20389 |
| CWE-125 | Out-of-bounds Read | Allowed | 15558 |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | Allowed | 12555 |
| CWE-862 | Missing Authorization | Allowed-with-Review | 10714 |
| CWE-20 | Improper Input Validation | Discouraged | 7066 |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | Allowed-with-Review | 7034 |
| CWE-121 | Stack-based Buffer Overflow | Allowed | 6755 |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | Discouraged | 6580 |
| CWE-284 | Improper Access Control | Discouraged | 6072 |
| CWE-352 | Cross-Site Request Forgery (CSRF) | Allowed | 5732 |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | Allowed-with-Review | 5728 |
| CWE-190 | Integer Overflow or Wraparound | Allowed | 5382 |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | Discouraged | 5380 |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | Allowed | 5351 |
| CWE-918 | Server-Side Request Forgery (SSRF) | Allowed | 5248 |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | Allowed-with-Review | 4848 |
| CWE-787 | Out-of-bounds Write | Allowed-with-Review | 4669 |
| CWE-502 | Deserialization of Untrusted Data | Allowed | 4531 |
| CWE-863 | Incorrect Authorization | Allowed-with-Review | 4149 |
| CWE-306 | Missing Authentication for Critical Function | Allowed | 3892 |
| CWE-639 | Authorization Bypass Through User-Controlled Key | Allowed | 3370 |
| CWE-400 | Uncontrolled Resource Consumption | Discouraged | 3303 |
| CWE-770 | Allocation of Resources Without Limits or Throttling | Allowed | 3225 |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | Allowed-with-Review | 3197 |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | Discouraged | 3120 |
| CWE-287 | Improper Authentication | Discouraged | 3043 |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | Allowed | 2888 |
| CWE-476 | NULL Pointer Dereference | Allowed | 2714 |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | Allowed | 2552 |
| CWE-285 | Improper Authorization | Discouraged | 2506 |
| CWE-126 | Buffer Over-read | Allowed | 2370 |
| CWE-843 | Access of Resource Using Incompatible Type ('Type Confusion') | Allowed | 2248 |
| CWE-908 | Use of Uninitialized Resource | Allowed | 2186 |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | Allowed-with-Review | 2186 |
| CWE-191 | Integer Underflow (Wrap or Wraparound) | Allowed | 2183 |
| CWE-269 | Improper Privilege Management | Discouraged | 2174 |
| CWE-822 | Untrusted Pointer Dereference | Allowed | 1538 |
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | Allowed | 1461 |
| CWE-415 | Double Free | Allowed | 1420 |
| CWE-266 | Incorrect Privilege Assignment | Allowed | 1401 |
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | Allowed | 1360 |
| CWE-73 | External Control of File Name or Path | Allowed | 1272 |
| CWE-347 | Improper Verification of Cryptographic Signature | Allowed | 1262 |
| CWE-23 | Relative Path Traversal | Allowed | 1249 |
| CWE-295 | Improper Certificate Validation | Allowed | 1241 |
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | Allowed | 1210 |
| CWE-693 | Protection Mechanism Failure | Discouraged | 1167 |
| CWE-197 | Numeric Truncation Error | Allowed | 1161 |