Skip to Content
Mengty Learns
Security

OWASP ASVS 5.0 Overview

What OWASP ASVS 5.0 is, how L1–L3 levels work, all 17 chapters in one line each, and how to scope it on a real static site.

referencebeginnerTested with asvs 5.0.0 (docs)Updated Nov 26, 2026

TL;DR

OWASP ASVS 5.0 is a testable security verification standard organized into 17 chapters (V1–V17) across three assurance levels (L1–L3). Unlike the Top 10 awareness list, ASVS gives concrete pass/fail requirements you scope to the features your system actually has.

Why it exists

The OWASP Top 10 explains what goes wrong most often, but it is too coarse to use as an engineering specification or PR checklist. ASVS turns application security into verifiable requirements so teams can design controls upfront, write targeted tests, and agree on what "secure enough" means for a given risk tier.

Verification levels (L1–L3)

ASVS 5.0 defines three cumulative levels (every L2 requirement includes L1, and L3 includes L1 + L2):

LevelTarget audienceThreat model
L1Every web app and APIOpportunistic attackers and automated scanners; minimum baseline before shipping.
L2Most production B2B/B2C appsMotivated attackers targeting sensitive user data, payments, or multi-tenant isolation.
L3High-assurance / regulated systemsAdvanced persistent threats, critical infrastructure, healthcare, or high-value finance.

All 17 ASVS 5.0 chapters in one line

ASVS 5.0 restructured the 4.x chapters into 17 focused domains:

ChapterTitle (ASVS 5.0)What it verifies
V1Encoding and SanitizationContext-aware output encoding, HTML/URL sanitization, and safe deserialization.
V2Validation and Business LogicSchema/type validation and preventing workflow or state-machine abuse.
V3Web Frontend SecurityBrowser security headers, CSP, CORS, framing protection, and DOM/XSS defenses.
V4API and Web ServiceREST/GraphQL/gRPC request parsing, content-type enforcement, and mass-assignment guards.
V5File HandlingUpload size/type validation, safe storage outside web roots, and safe download headers.
V6AuthenticationPassword storage, MFA, brute-force resistance, and credential recovery.
V7Session ManagementSession token entropy, lifecycle, rotation, idle/absolute timeouts, and logout invalidation.
V8AuthorizationDeny-by-default access control, object/function-level checks, and multi-tenant isolation.
V9Self-contained TokensJWT/PASETO signature verification, alg/kid handling, claims validation, and key rotation.
V10OAuth and OIDCPKCE, exact redirect URI matching, state/nonce checks, and token audience validation.
V11CryptographyApproved algorithms (AEAD, SHA-2/3), key management, and CSPRNG randomness.
V12Secure CommunicationTLS 1.2/1.3 configuration, certificate validation, and service-to-service mTLS/HTTPS.
V13ConfigurationSecret handling, server hardening, disabling debug endpoints, and least-privilege defaults.
V14Data ProtectionData classification, PII minimization, retention, and client-side storage boundaries.
V15Secure Coding and ArchitectureThreat modeling, dependency/supply-chain hygiene, and safe concurrency.
V16Security Logging and Error HandlingAudit logs for security events without leaking secrets/PII, and fail-closed error handling.
V17WebRTCSignaling authentication, DTLS-SRTP media encryption, and ICE/TURN relay security.

Worked example: scoping ASVS 5.0 to this static site

Using ASVS effectively means scoping out chapters that do not exist in your architecture instead of marking hundreds of rows "N/A" manually. Take Mengty Learns itself: a Next.js static export (output: 'export') hosted on CDN/Pages with no backend, no database, no user accounts, and localStorage for flashcard/quiz progress.

ScopeASVS 5.0 ChaptersWhy
Applies (focus here)V1, V3, V12, V13, V14, V15MDX/HTML rendering and CSP (V1, V3); HTTPS/TLS at the edge (V12); security headers, CI secrets, and no debug leaks (V13); localStorage contains only non-sensitive study state (V14); dependency lockfiles, CI pinning, and threat modeling (V15).
Partially appliesV2, V16Build-time frontmatter/diagram Zod validation (V2) and safe error boundaries / RSS inbox script handling (V16).
Does not applyV4, V5, V6, V7, V8, V9, V10, V11, V17No runtime APIs, no file uploads, no passwords/sessions/JWTs/OAuth, no server-side encryption keys, and no WebRTC.

Do it: turn ASVS into a lightweight checklist

  1. Pick a target level: Start with L1 for a new service or L2 if you store user PII or multi-tenant data.
  2. Scope by architecture: Keep only the chapters that match components you actually run (for example, add V6–V10 the day you add login).
  3. Map controls to CI and code review: Automate what you can (headers check, pnpm audit, lockfile enforcement, TypeScript/Zod schemas) and keep the rest as a PR review checklist for auth and data-access changes.

Gotchas

  • Using ASVS 4.x chapter numbers on a 5.0 audit: ASVS 5.0 split Authentication, Session Management, Authorization, Tokens, and OAuth into separate chapters (V6–V10); citing 4.x numbers creates confusion in PRs and audit reports.
  • Treating L1 as "insecure": L1 is already a solid baseline against automated attacks; jumping straight to L3 on a small internal tool wastes engineering time on controls you cannot maintain.
  • Checking boxes without testing: ASVS is a verification standard—every applicable requirement needs an automated test, config check, or reproducible manual verification step.

Production checklist

  • Target ASVS level (L1, L2, or L3) is documented per service based on data sensitivity.
  • Applicable ASVS 5.0 chapters are explicitly scoped in (and non-applicable chapters documented with reasons).
  • Automatable checks (dependency audits, static analysis, header checks) run in CI on every PR.
  • High-risk chapters (V6–V10 Auth/Access Control, V1 Encoding, V13 Secrets) are verified on every auth or API change.

Check yourself

Check Yourself

1. Which ASVS 5.0 chapter covers OAuth 2.x and OpenID Connect requirements?

2. For a purely static site with no backend, no login, and no database, which ASVS 5.0 chapters still apply?

Sources