Common Weakness Enumeration

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

Reset

267 CWEs ranked in 2025-09

API response
CWE Name Mapping usage Occurrences
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') Allowed 619
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') Allowed 329
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Discouraged 292
CWE-862 Missing Authorization Allowed-with-Review 179
CWE-352 Cross-Site Request Forgery (CSRF) Allowed 154
CWE-94 Improper Control of Generation of Code ('Code Injection') Allowed-with-Review 124
CWE-284 Improper Access Control Discouraged 73
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') Allowed 70
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') Allowed-with-Review 67
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') Allowed-with-Review 66
CWE-918 Server-Side Request Forgery (SSRF) Allowed 64
CWE-434 Unrestricted Upload of File with Dangerous Type Allowed 64
CWE-266 Incorrect Privilege Assignment Allowed 59
CWE-125 Out-of-bounds Read Allowed 57
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Discouraged 56
CWE-502 Deserialization of Untrusted Data Allowed 53
CWE-285 Improper Authorization Discouraged 51
CWE-416 Use After Free Allowed 46
CWE-306 Missing Authentication for Critical Function Allowed 46
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor Discouraged 44
CWE-20 Improper Input Validation Discouraged 44
CWE-639 Authorization Bypass Through User-Controlled Key Allowed 40
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') Allowed-with-Review 36
CWE-770 Allocation of Resources Without Limits or Throttling Allowed 35
CWE-122 Heap-based Buffer Overflow Allowed 33
CWE-787 Out-of-bounds Write Allowed-with-Review 29
CWE-121 Stack-based Buffer Overflow Allowed 25
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Allowed-with-Review 24
CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') Allowed 22
CWE-400 Uncontrolled Resource Consumption Discouraged 22
CWE-863 Incorrect Authorization Allowed-with-Review 21
CWE-798 Use of Hard-coded Credentials Allowed-with-Review 20
CWE-287 Improper Authentication Discouraged 20
CWE-126 Buffer Over-read Allowed 19
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere Allowed 18
CWE-732 Incorrect Permission Assignment for Critical Resource Allowed-with-Review 17
CWE-307 Improper Restriction of Excessive Authentication Attempts Allowed 17
CWE-201 Insertion of Sensitive Information Into Sent Data Allowed 17
CWE-190 Integer Overflow or Wraparound Allowed 17
CWE-522 Insufficiently Protected Credentials Allowed-with-Review 16
CWE-476 NULL Pointer Dereference Allowed 16
CWE-843 Access of Resource Using Incompatible Type ('Type Confusion') Allowed 15
CWE-601 URL Redirection to Untrusted Site ('Open Redirect') Allowed 15
CWE-321 Use of Hard-coded Cryptographic Key Allowed 15
CWE-506 Embedded Malicious Code Allowed-with-Review 14
CWE-269 Improper Privilege Management Discouraged 14
CWE-427 Uncontrolled Search Path Element Allowed-with-Review 13
CWE-532 Insertion of Sensitive Information into Log File Allowed 12
CWE-295 Improper Certificate Validation Allowed 12
CWE-23 Relative Path Traversal Allowed 12