Most testers meet the WSTG the same way: a colleague sends a spreadsheet with four hundred rows, half the cells say N/A, and the client asks why the report is late. That is not what the guide is for. Used properly, it is a reference you consult before you touch the target, and a vocabulary you borrow so that a reader can trace a finding back to a test other people can repeat.
A catalogue, not a scanner
The OWASP Web Security Testing Guide is a flagship OWASP documentation project: a catalogue of tests for web applications and web services. The current stable release is v4.2, published on 3 December 2020, and it contains 97 test cases across 12 categories under the CC-BY-SA-4.0 licence. Those numbers are what a report has to pin itself to.
Each test case is a short, self-contained chapter with the same spine: a Summary, Test Objectives, a How to Test section with real requests, a Tools list, and References. The objectives are written as things a human should establish — "determine whether the application enforces a unique identity", not "run scanner X". That is the whole design: the guide describes intent and procedure, and leaves execution, judgement and severity to you.
The guide also carries the parts people forget to read: an introduction and testing framework chapter, a reporting chapter, and an appendix of fuzz vectors and encoded-injection examples. The reporting chapter is worth an hour before your first engagement, because it describes the evidence a reader should be able to check — screenshots, request and response pairs, and the exact preconditions — rather than the severity labels people argue about.
So what is it not? It is not an automated scanner; nothing in the WSTG runs against a target. It is not a compliance checklist: it defines no pass criteria, no severity scale and no evidence format. The shipped checklist has a Status column you can fill with Pass, Fail or N/A, but the guide never tells you what counts as a pass. And it is not a complete methodology: infrastructure, Active Directory and social engineering sit outside it. If your engagement needs those, the WSTG is one input, not the spine. Our comparison of testing methodologies covers how it fits with PTES and NIST SP 800-115.
On the development branch, v5.0 is still in progress: chapter 4 is being flattened into top-level chapters, API testing grows from a single GraphQL test to ten tests, and a new WebAssembly chapter with four tests appears. Test identifiers survive the reorganisation, which is exactly why the project asks authors to cite them with a version prefix — WSTG-v42-ATHN-02 — rather than assuming "latest" will mean the same thing in three years.
The twelve categories
The identifier format is WSTG-<category>-<number>, where the number is zero-padded from 01 to 99. The categories are not equal in size, and the imbalance is informative: input validation carries 19 tests because injection and encoding problems still account for a large share of real findings, while the API chapter has exactly one test in v4.2. A guide is a snapshot of what its contributors knew how to test, not an even grid.
Two naming details matter before you copy an identifier. The official checklist labels the business-logic and client-side section headers WSTG-BUSLOGIC and WSTG-CLIENT, while the individual test IDs use WSTG-BUSL-nn and WSTG-CLNT-nn. And the category names in the guide are processes ("Testing for Weak Cryptography"), not weakness names — do not expect them to line up one-to-one with the OWASP Top 10.
| Category | Tests | The question it answers |
|---|---|---|
WSTG-INFO | 10 | What is exposed before authentication — infrastructure, metadata, entry points, architecture? |
WSTG-CONF | 11 | Is the deployment configured defensibly — headers, methods, backups, admin interfaces, cloud storage? |
WSTG-IDNT | 5 | Are roles and registration defined tightly enough to test against? |
WSTG-ATHN | 10 | Can authentication be bypassed, guessed, reset or downgraded? |
WSTG-ATHZ | 4 | Can one identity reach another identity's objects or functions? |
WSTG-SESS | 9 | Do cookies, tokens and logout behaviour survive scrutiny? |
WSTG-INPV | 19 | Does untrusted input reach an interpreter, template, file system or outbound request? |
WSTG-ERRH | 2 | Do error paths leak stack traces, versions or internal identifiers? |
WSTG-CRYP | 4 | Are transport, storage and randomness using algorithms that still count? |
WSTG-BUSL | 9 | Can a workflow, limit or integrity check be abused without breaking a parser? |
WSTG-CLNT | 13 | What executes in the browser — DOM sinks, postMessage, WebSockets, storage, CORS? |
WSTG-APIT | 1 | Does GraphQL introspection, authorization or injection give more than intended? |
From test ID to finding
Take a concrete job: an authenticated SaaS application at app.example.com, two test accounts supplied by the client, scope limited to that host, and rules of engagement that permit authenticated testing during a four-hour window. A defensible selection is three tests, not ninety-seven.
Start from the asset type and technology, not from the table of contents. An authenticated web application with a JSON API and JWT sessions points at the identity, authorization and session chapters. Three tests earn their place immediately: WSTG-ATHN-02 (default credentials on the login and admin surfaces), WSTG-ATHZ-04 (insecure direct object references between the two accounts), and WSTG-SESS-02 (cookie attributes on the session and refresh tokens). Each has a narrow objective and produces an artefact you can hand over.
| Test | What you actually do | Evidence it produces |
|---|---|---|
WSTG-ATHN-02 | Try vendor defaults on the login form and the admin console, rate-limited and within the agreed window. | Full request/response pair, screenshot of the authenticated session, timestamp and source IP. |
WSTG-ATHZ-04 | With account A, replay account B's object identifiers and compare status, body shape and record count. | Two paired requests with both session cookies redacted, plus the diff that proves the object was returned. |
WSTG-SESS-02 | Read Set-Cookie on login and refresh; check Secure, HttpOnly, SameSite and path scope. | Raw response headers, and a note on which cookie is reachable from JavaScript. |
The finding is then a sentence with identifiers attached: a CVSS v3.1 vector, a CWE weakness, an OWASP Top 10 family and the WSTG test that produced it. Severity belongs to your judgement, not to the guide — WSTG-ATHZ-04 does not come with a score, and an IDOR that exposes one draft document is a different finding from one that exposes every tenant's billing history.
How teams use it badly
- Breadth without depth. Running all 97 tests to "cover the guide" produces 97 shallow observations and no proof. Three tests with evidence beat ninety-seven with a tick.
- Business logic as N/A. The nine
WSTG-BUSLtests need domain knowledge — refund limits, approval chains, multi-step checkout — so they are the first to be dropped. They are also where the expensive findings live. - Pass/fail thinking. The WSTG has no verdict, no severity and no evidence format. A row that says "PASS" tells a reader nothing about what was tested or how.
- Client-side and API skipped. A single-page app moves its logic into the browser and its data into JSON endpoints; 13 client-side tests and one API test are exactly the chapters that apply, and exactly the ones testers skip because they need a proxy and a browser, not a scanner.
Inside dsh-redteam
The plugin ships the v4.2 dataset as structured knowledge: 97 tests and 12 categories, each test carrying its objective, suggested tools, asset types, technology tags and OWASP mapping, retrieved on 26 November 2026. pentest_methodology exposes it with kind: "recommend": technology matches come first, asset-type matches next, and the result is capped at 20 tests — a selection, not a dump.
Every intent can carry wstgIds, and every finding records the identifiers it proves. The report then computes coverage as tested applicable tests divided by applicable tests, and prints the tested list with it. The dataset is CC-BY-SA-4.0, so attribution and share-alike apply to anything derived from it. The full inventory is on the resources page; the tool contract is in the repository's TOOLS.md.
Key takeaways
- The WSTG is a catalogue of test procedures, not a scanner and not a compliance standard. Pin the version: v4.2 is the stable release, with 97 tests in 12 categories.
- Select by asset type and technology, then execute a handful of tests properly with request-level evidence.
- Cite identifiers with their version prefix, and attach CWE and OWASP mappings yourself — the guide supplies none.
- Business logic, client-side and API chapters are where coverage quietly disappears; budget for them explicitly.
- Coverage is only meaningful as tested applicable tests over applicable tests, with the list shown.
Sources
- OWASP Web Security Testing Guide — project page (latest version 4.2; v5.0 in development)
- OWASP/wstg — repository, README and versioning guidance
- WSTG v4.2 testing checklist — 97 test IDs and category counts
- WSTG-APIT-01 Testing GraphQL — the only API test in v4.2
- WSTG v4.2 release — 3 December 2020
- OWASP ASVS — requirements, the complement to testing procedures
- dsh-redteam — pentest_methodology tool reference