Skip to content
OpenAdvisories

Weaknesses

Vulnerabilities by weakness (CWE)

The Common Weakness Enumeration describes the kind of mistake behind a vulnerability — cross-site scripting, SQL injection, missing authorization. Browse which weaknesses are most common, and how to prevent them.

Most common weaknesses

  1. 1.CWE-79 Cross-site Scripting 32,577
  2. 2.CWE-89 Improper Neutralization of Special Elements used in an SQL Command 13,887
  3. 3.CWE-862 Missing Authorization 10,470
  4. 4.CWE-284 Improper Access Control 8,188
  5. 5.CWE-22 Improper Limitation of a Pathname to a Restricted Directory 7,170
  6. 6.CWE-352 Cross-Site Request Forgery 6,736
  7. 7.CWE-20 Improper Input Validation 6,559
  8. 8.CWE-200 Exposure of Sensitive Information to an Unauthorized Actor 6,386
  9. 9.CWE-416 Use After Free 6,223
  10. 10.CWE-125 Out-of-bounds Read 6,104
  11. 11.CWE-787 Out-of-bounds Write 6,075
  12. 12.CWE-74 Injection 5,292
  13. 13.CWE-78 OS Command Injection 5,284
  14. 14.CWE-94 Improper Control of Generation of Code 5,251
  15. 15.CWE-863 Incorrect Authorization 4,198
  16. 16.CWE-121 Stack-based Buffer Overflow 4,135
  17. 17.CWE-400 Uncontrolled Resource Consumption 4,017
  18. 18.CWE-122 Heap-based Buffer Overflow 3,746
  19. 19.CWE-918 Server-Side Request Forgery 3,684
  20. 20.CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer 3,665
  21. 21.CWE-434 Unrestricted Upload of File with Dangerous Type 3,409
  22. 22.CWE-502 Deserialization of Untrusted Data 3,317
  23. 23.CWE-120 Buffer Copy without Checking Size of Input 3,276
  24. 24.CWE-77 Command Injection 3,200
  25. 25.CWE-639 Authorization Bypass Through User-Controlled Key 3,192

All weaknesses 817