CCyberwiki

OWASP Application Security Verification Standard

OWASP ASVS
MaintainerOWASP (flagship project)
First released2008
Current version5.0.0, published 30 May 2025
SizeAbout 350 requirements in 17 chapters
LevelsL1, L2, L3
FormatsPDF, DOCX, CSV, JSON, XML
Websiteowasp.org

The OWASP Application Security Verification Standard (ASVS) is a list of security requirements for web applications and web services, each written so that a tester can decide whether an application meets it.12 It is a flagship project of the OWASP Foundation. Developers use it as a specification for what to build, and testers use it as a basis for checking the technical security controls of an application.1 Version 5.0.0, the current release, was published on 30 May 2025 and holds about 350 requirements in 17 chapters.3

History

The ASVS was first released in 2008. Version 4.0 followed in 2019 and its last update, 4.0.3, in 2021.3 Version 5.0 rewrote most of the content: of the 286 requirements in 4.0.3, 11 were carried over unchanged, and 109 stopped being separate requirements (50 deleted, 28 removed as duplicates, 31 merged into others).4 The project publishes a mapping in both directions between 4.0 and 5.0 for teams that move from one to the other.3

Version 5.0 also dropped the direct mappings to Common Weakness Enumeration and to the NIST Digital Identity Guidelines that 4.x carried. The project gives three reasons for leaving CWE: some CWE entries are categories, many requirements do not map to a single CWE, and several 4.x mappings were imprecise. Links to other standards are planned through the OWASP Common Requirement Enumeration project instead.4

Scope

The standard defines its scope through the four words of its name. The application is the software product being built; the ASVS states security outcomes for that product and does not prescribe how the team develops or deploys it. Components that handle the application's HTTP traffic, such as a web application firewall, a load balancer or a proxy, count as part of the application where a control such as rate limiting depends on them. DNS and backups are given as examples of things outside the scope, because a separate team or process usually runs them.2 Because attackers observe no scope, the requirements are meant to be read alongside guidance for build pipelines, hosting and operations.2

Every requirement must have a demonstrable effect on security, and checking it must end in a pass or a fail. The ASVS contains only requirements, phrased as "must", and no recommendations.2 How to implement a requirement in a given language is left to the OWASP Cheat Sheet Series, and how to test it is left to the Web Security Testing Guide.2

Structure

Each requirement has an identifier of the form chapter.section.requirement. Requirement 1.2.5, for example, is the fifth requirement in section 1.2, Injection Prevention, of chapter 1, Encoding and Sanitization. Because identifiers change between versions, OWASP asks that reports and tools prefix the version, as in v5.0.0-1.2.5; an identifier without a version is read as the latest release.1 In each chapter, a requirement appears as a table row with three fields: the identifier, the text, which starts with "Verify that", and the level.5

Table 1. Chapters of ASVS 5.0
No.ChapterNo.Chapter
V1Encoding and SanitizationV10OAuth and OIDC
V2Validation and Business LogicV11Cryptography
V3Web Frontend SecurityV12Secure Communication
V4API and Web ServiceV13Configuration
V5File HandlingV14Data Protection
V6AuthenticationV15Secure Coding and Architecture
V7Session ManagementV16Security Logging and Error Handling
V8AuthorizationV17WebRTC
V9Self-contained Tokens

Chapters that do not apply can be left out. An API called only by other machines has no use for chapter V3 on web frontends, and an application without OAuth or WebRTC skips those chapters.2 Requirement 1.2.4, at level 1, asks that database queries use parameterized queries or an ORM, which is the main defence described in SQL injection.6

Some chapters open with documentation requirements. Each one asks the organisation to write down a decision that differs from one application to the next, such as which file types users may upload, and is paired with a requirement that the code follows the written decision. Checking the document and checking the code are separate steps.2

Levels

Requirements are sorted into three levels by weighing how far each one reduces risk against the effort of building it. Meeting a level means meeting all requirements of that level and of the levels below.2

Table 2. ASVS 5.0 levels
LevelContentShare of requirements
L1First-layer defences against common attacks that need no other weakness to workAbout 20% (70 of 345)
L2Defences against less common attacks, or stronger defences against common ones. The level OWASP says most applications should aim forAbout 50%, so L2 compliance covers about 70%
L3Defence in depth and controls that are hard to buildThe remaining 30% or so

In the authentication chapter, user passwords at L1 must be at least 8 characters, with 15 strongly recommended, and are checked against at least the 3,000 most common passwords. At L2, passwords of 64 characters must be accepted, periodic password changes must not be forced, and multi-factor authentication is required. At L3, sign-in must use hardware-based authentication.5

The level an application aims for is the organisation's choice, made from its own risks: an early-stage startup holding little sensitive data might aim for L1, while a bank would find it hard to justify less than L3 for online banking.2 Organisations are encouraged to fork the standard into their own version, provided requirement numbers keep their meaning.2

Use

The project names three aims: a yardstick for how far an application can be trusted, guidance for people who build security controls, and a basis for security clauses in contracts.1 In procurement, a buyer can require software built to a given level and ask the seller to prove it.2 For setting an application's security requirements, the OWASP Top 10 points to the ASVS and calls it "the only acceptable choice for tool vendors", since the Top 10 ranks risks that tools cannot fully detect.7

Requirements can also be turned into automated tests. The standard's example is a login controller checked on every build for default usernames, account enumeration, brute forcing, injection and XSS.2

Verification and certification

OWASP does not certify vendors, testers or software, and any mark claiming official ASVS certification is not endorsed by it.8 An ASVS report differs from a typical penetration test report, which lists only failures: it states the target level, every requirement checked, the exceptions found, and the requirements that do not apply, such as session management in a stateless API.8

Dynamic application security testing and Static application security testing tools can cover simple requirements, for example output encoding, but cannot fully verify many others, in particular those about business logic and access control. Many L2 and L3 requirements need access to documentation, source code, configuration and the developers.8 The project therefore advises a test led by source code or documentation over an outside test with no inside knowledge, and in 5.0 stopped choosing L1 requirements by whether an outside tester could check them.84

See also

References

  1. a b c d OWASP Foundation (2025). "OWASP Application Security Verification Standard". OWASP project page.
  2. a b c d e f g h i j k l OWASP ASVS project (2025). "What is the ASVS?". Application Security Verification Standard 5.0. GitHub.
  3. a b c OWASP ASVS project (2025). "Preface". Application Security Verification Standard 5.0. GitHub.
  4. a b c OWASP ASVS project (2025). "For Users Of 4.0". Application Security Verification Standard 5.0. GitHub.
  5. a b OWASP ASVS project (2025). "V6 Authentication". Application Security Verification Standard 5.0. GitHub.
  6. back OWASP ASVS project (2025). "V1 Encoding and Sanitization". Application Security Verification Standard 5.0. GitHub.
  7. back OWASP Foundation (2025). "Establishing a Modern Application Security Program". OWASP Top 10:2025.
  8. a b c d OWASP ASVS project (2025). "Assessment and Certification". Application Security Verification Standard 5.0. GitHub.