Common Weakness Enumeration
Browse CWEs ranked by the number of vulnerabilities referencing them, and pivot to weakness details, mitigations, and related attack patterns.
257 CWEs ranked in 2025-08
API response| CWE | Name | Mapping usage | Occurrences |
|---|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | Allowed | 472 |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | Allowed | 274 |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | Discouraged | 216 |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | Allowed-with-Review | 178 |
| CWE-121 | Stack-based Buffer Overflow | Allowed | 140 |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | Allowed | 135 |
| CWE-862 | Missing Authorization | Allowed-with-Review | 103 |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | Allowed-with-Review | 92 |
| CWE-434 | Unrestricted Upload of File with Dangerous Type | Allowed | 87 |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | Discouraged | 87 |
| CWE-352 | Cross-Site Request Forgery (CSRF) | Allowed | 83 |
| CWE-98 | Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') | Allowed | 61 |
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | Discouraged | 57 |
| CWE-122 | Heap-based Buffer Overflow | Allowed | 57 |
| CWE-20 | Improper Input Validation | Discouraged | 54 |
| CWE-125 | Out-of-bounds Read | Allowed | 54 |
| CWE-416 | Use After Free | Allowed | 53 |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | Allowed-with-Review | 51 |
| CWE-284 | Improper Access Control | Discouraged | 50 |
| CWE-502 | Deserialization of Untrusted Data | Allowed | 44 |
| CWE-476 | NULL Pointer Dereference | Allowed | 43 |
| CWE-918 | Server-Side Request Forgery (SSRF) | Allowed | 41 |
| CWE-266 | Incorrect Privilege Assignment | Allowed | 38 |
| CWE-306 | Missing Authentication for Critical Function | Allowed | 33 |
| CWE-770 | Allocation of Resources Without Limits or Throttling | Allowed | 32 |
| CWE-787 | Out-of-bounds Write | Allowed-with-Review | 31 |
| CWE-863 | Incorrect Authorization | Allowed-with-Review | 29 |
| CWE-276 | Incorrect Default Permissions | Allowed | 28 |
| CWE-400 | Uncontrolled Resource Consumption | Discouraged | 25 |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | Allowed-with-Review | 25 |
| CWE-285 | Improper Authorization | Discouraged | 23 |
| CWE-404 | Improper Resource Shutdown or Release | Allowed-with-Review | 21 |
| CWE-926 | Improper Export of Android Application Components | Allowed | 20 |
| CWE-288 | Authentication Bypass Using an Alternate Path or Channel | Allowed | 20 |
| CWE-269 | Improper Privilege Management | Discouraged | 20 |
| CWE-201 | Insertion of Sensitive Information Into Sent Data | Allowed | 19 |
| CWE-190 | Integer Overflow or Wraparound | Allowed | 19 |
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | Allowed | 18 |
| CWE-295 | Improper Certificate Validation | Allowed | 18 |
| CWE-639 | Authorization Bypass Through User-Controlled Key | Allowed | 17 |
| CWE-798 | Use of Hard-coded Credentials | Allowed-with-Review | 16 |
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | Allowed-with-Review | 15 |
| CWE-287 | Improper Authentication | Discouraged | 15 |
| CWE-843 | Access of Resource Using Incompatible Type ('Type Confusion') | Allowed | 14 |
| CWE-427 | Uncontrolled Search Path Element | Allowed-with-Review | 14 |
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | Allowed | 13 |
| CWE-732 | Incorrect Permission Assignment for Critical Resource | Allowed-with-Review | 12 |
| CWE-73 | External Control of File Name or Path | Allowed | 12 |
| CWE-617 | Reachable Assertion | Allowed | 12 |
| CWE-401 | Missing Release of Memory after Effective Lifetime | Allowed | 12 |