OWASP Top 10 2021 vs 2017: Key Changes
You'll learn: How the OWASP Top 10 evolved from 2017 to 2021, including new categories and consolidated vulnerabilities.
What Changed and Why
The OWASP Top 10 underwent significant restructuring between 2017 and 2021, reflecting the changing security landscape. Think of it like updating a "Most Wanted" list—some threats became more dangerous, others merged together, and new criminals appeared.
Major Category Changes
Three brand-new categories emerged:
- A01:2021 Broken Access Control (jumped from #5 to #1)
- A03:2021 Injection (dropped from #1, now includes XSS)
- A08:2021 Software and Data Integrity Failures (NEW—covers insecure deserialization)
- A04:2021 Insecure Design (NEW—focuses on design flaws)
- A10:2021 Server-Side Request Forgery (SSRF) (NEW standalone category)
Key Mergers and Consolidations
The 2021 edition consolidated several related vulnerabilities:
- Injection now includes SQL Injection, NoSQL, LDAP, and Cross-Site Scripting (XSS)
- Cryptographic Failures replaced "Sensitive Data Exposure" with clearer focus
- Software and Data Integrity Failures absorbed the old "Insecure Deserialization" plus new supply chain concerns
- Security Misconfiguration broadened to include XML external entities (XXE)
Notable Removals
XML External Entities (XXE) disappeared as a standalone item, merged into Security Misconfiguration. This doesn't mean XXE became less important—it's just recognized as one type of misconfiguration rather than its own category.
The list also shifted from incident-driven to more data-driven methodology, incorporating community surveys and CWE mapping to better represent real-world application security risks.
Key Takeaway: The 2021 OWASP Top 10 reflects modern threats by elevating access control issues, recognizing design security, adding SSRF explicitly, and consolidating related injection attacks—showing that application security priorities evolve with attacker tactics and development practices.