Sovra Recon·Glossary · CWE

CWE: The Classification of Software Vulnerabilities

By Solan Barlet, co-founder of Sovra Recon
Updated October 29, 2026

In short

The CWE (Common Weakness Enumeration) is the reference catalog of software and hardware vulnerability types, maintained by the MITRE organization and funded by CISA, the U.S. Cybersecurity and Infrastructure Security Agency. Whereas a CVE identifies a specific vulnerability in a given product, a CWE describes the family of vulnerabilities that made it possible—for example, CWE-89 for SQL injection. It serves as a common language for developers, analysis tools, and penetration test reports.

CWE, CVE, CVSS: What Do They Do?

RepositoryWhat it describesExample
CWEA type of vulnerabilityCWE-79: cross-site scripting (XSS)
CVEA specific vulnerability in a productCVE-2021-44228 (Log4Shell)
CVSSThe technical severity of a vulnerability10.0 for Log4Shell

Common CWEs

  • CWE-79: cross-site scripting (XSS).
  • CWE-89: SQL injection.
  • CWE-639: Authorization bypass via a user-controlled key, also known as IDOR.
  • CWE-918: Server-Side Request Forgery (SSRF).
  • CWE-352: Cross-Site Request Forgery (CSRF).
  • CWE-22: path traversal.
  • CWE-798: hard-coded credentials in software.

The Top 25 and the Top KEV

Each year, MITRE publishes the CWE Top 25 list of the most dangerous software vulnerabilities, compiled from published CVEs, as well as a ranking of the most prevalent vulnerabilities in the KEV catalog of actively exploited vulnerabilities. For a development team, these lists indicate which families of vulnerabilities to prioritize in code reviews and training.

Frequently asked questions

Why does a penetration test report cite CWEs?

Classifying each vulnerability into a recognized family helps developers understand the cause, facilitates tracking in tools, and allows for comparisons between audits.

Sources

Find out where an attacker would get in.

Our AI agents actually attack your scope, fully automated, and hand you the proof of every vulnerability.