MITRE's Top 10 Most Dangerous Software Weaknesses: From XSS and SQL Injection to the Command-Injection and Memory Bugs Attackers Actually Exploit

High · 2026-11-17 · By H.A

MITRE's Top 10 Most Dangerous Software Weaknesses: From XSS and SQL Injection to the Command-Injection and Memory Bugs Attackers Actually Exploit

The top 10 of MITRE's official 2025 CWE Top 25 explained: what each weakness is, why it is dangerous and how to stop it, plus MITRE's Top 10 list of weaknesses behind exploited vulnerabilities.

Overview

Every year MITRE, which runs the CWE (Common Weakness Enumeration) programme with sponsorship from the US Cybersecurity and Infrastructure Security Agency (CISA), publishes the CWE Top 25 Most Dangerous Software Weaknesses. It is the official ranking of the coding mistakes behind the most vulnerabilities, weighted by how severe those vulnerabilities are. The current edition is the 2025 CWE Top 25. MITRE has not published a 2026 edition, so lists circulating online under that name are not official.

This report covers the top 10 of that list: what each weakness is, why attackers love it, and how to stop it. MITRE also publishes a second list, the Top 10 KEV Weaknesses, which ranks only weaknesses behind vulnerabilities that attackers have actually exploited, as recorded in CISA's Known Exploited Vulnerabilities (KEV) catalog. We show both, because the most common bug is not always the most exploited one.

How MITRE Ranks Them

The Top 10 at a Glance

1 Cross-site Scripting (CWE-79)

2 SQL Injection (CWE-89)

3 Cross-Site Request Forgery (CWE-352)

4 Missing Authorization (CWE-862)

5 Out-of-bounds Write (CWE-787)

6 Path Traversal (CWE-22)

7 Use After Free (CWE-416)

8 Out-of-bounds Read (CWE-125)

9 OS Command Injection (CWE-78)

10 Code Injection (CWE-94)

What Attackers Actually Exploit: MITRE's Top 10 KEV Weaknesses

MITRE's separate ranking of weaknesses behind vulnerabilities confirmed as exploited in the wild looks quite different:

The lesson: web bugs like XSS and SQL injection are the most common, but the bugs attackers turn into real intrusions are mostly command injection, memory corruption and missing authentication. Those are concentrated in network devices, VPN gateways and internet-facing servers.

Detection

Recommended Actions

Analyst Assessment

The 2025 ranking shows slow progress. Cross-site scripting and SQL injection still hold the top two places after more than twenty years, and Missing Authorization's jump to fourth reflects how many APIs check identity but not permission. The more urgent signal is in the exploited list: attackers keep winning with OS command injection, memory-safety bugs and missing authentication on internet-facing devices. Organisations that cannot fix everything should start there. Developers who want to remove whole classes of bugs, not just single instances, should invest in memory-safe languages and frameworks that make the safe option the default.

Sources

REEF SENTINEL