Web application pentesting is a authorized, simulated attack on your web app. Security specialists try to get past its defenses the way a real attacker would, then report what they reached and how to fix it. NIST describes penetration testing as security testing in which evaluators attempt to circumvent a system's security features based on their understanding of its design and implementation. This guide covers what a test includes, how it differs from scanning, what a checklist should cover, and what to do with the report.
TL;DR
- A web app pentest is a scoped, written-authorized, mostly manual attempt to break into your application. It proves what an attacker could actually reach.
- Automated scanning is a useful baseline. A pentest adds human judgment on business logic, chained exploits and access control.
- The OWASP Web Security Testing Guide is the standard framework for building a checklist: identity, authentication, authorization, sessions, data and APIs.
- The report is only the start. Value comes from prioritizing findings, fixing them and retesting.
- Test again after major releases, and build security checks into delivery so testing is a cycle, not a once-a-year event.
Table of Contents
- What web application pentesting actually is
- Pentesting versus scanning and other security testing
- How a web app pentest runs, step by step
- A web pentest checklist built on the OWASP guide
- Scoping a test around risk
- Making testing continuous
- Acting on the report
- Choosing a testing provider
- Our perspective
- How Nexus can help
- FAQ
- Sources
What web application pentesting actually is
A web application is more than the pages a user sees. It is a login system, a set of roles, an API layer, a database, third-party integrations and the cloud infrastructure underneath. A pentest treats all of that as the attack surface and asks one question: what can a determined person do with it?
The tester starts from the same position an attacker would. That may be an anonymous visitor, a registered customer, or a user with a low-privilege staff account. From there they look for ways to read data they should not see, act as another user, escalate privileges or break the rules of your business process.
The output is not a list of theoretical weaknesses. It is a set of demonstrated findings, each with evidence, an explanation of business impact and a recommended fix.
What a test helps you find
Typical findings fall into a few families:
- Broken access control: a customer can open another customer's invoice by changing a number in the URL.
- Authentication and session weaknesses: weak reset flows, missing multi-factor authentication on sensitive actions, sessions that never expire.
- Injection and input handling flaws: the application trusts data it should validate.
- Business logic flaws: a discount code can be reused, a payment step can be skipped, an approval can be bypassed.
- Exposed data and misconfiguration: verbose errors, open storage, debug endpoints left in production.
- API weaknesses: endpoints that return more than the interface displays, or that skip authorization checks.
The business logic category matters most. These flaws are specific to your application, so no generic rule set will recognize them.
Pentesting versus scanning and other security testing
Searches for web application security testing cover several different activities. They answer different questions, and a mature program uses more than one.
| Approach | What it does | Best at | Limits |
|---|---|---|---|
| Automated scanning (DAST) | Crawls the running app and fuzzes inputs with tools | Frequent, repeatable baselines and known vulnerability patterns | Weak on business logic and chained attacks |
| Static analysis (SAST) and dependency checks | Reads source code and libraries | Catching flaws early in development | Cannot see runtime behavior or configuration |
| Manual penetration test | Human testers probe and exploit the live app | Proving real-world exploitability, logic and access control flaws | Point in time, limited by scope and tester knowledge |
| Continuous testing and monitoring | Runs checks and detection between tests | Catching regressions and live attacks | Needs tuning and response processes |
The OWASP Web Security Testing Guide notes that DAST tools such as ZAP and Burp crawl and fuzz applications, while manual penetration testing validates exploitability, tests integration points and probes business logic. In practice, a scanner tells you where to look and a tester tells you what an attacker can do with it.
A pentest also has a boundary of its own. NIST research points out that penetration analysis is limited by the tester's knowledge and works best as an adjunct to other software testing and security methods. That is why the strongest programs combine secure development practices, scanning and periodic expert testing. Our guide to the secure software development lifecycle covers how dev and security teams fit these layers together.
How a web app pentest runs, step by step
Vendors name the phases differently, but the shape is consistent.

1. Scope and authorization
Nothing starts until the paperwork is done. OWASP advises that scope, rules of engagement and authorization are defined clearly and in writing before testing begins. Decide on:
- Which applications, domains, APIs and environments are in scope.
- Whether testing runs against production or a staging copy with realistic data.
- Which accounts and roles the testers receive.
- Testing windows, contacts for emergencies and what happens if something breaks.
- What is off limits, such as denial-of-service tests or social engineering.
If your app runs on a public cloud, check the provider's rules for security testing as well. Our practitioner guide to cloud penetration testing explains how to avoid triggering a suspension.
2. Reconnaissance and mapping
The tester maps the application: pages, parameters, endpoints, technologies, user roles and workflows. They also look at what is exposed around it, such as forgotten subdomains and old API versions. This is where attack surface management overlaps with testing, because assets nobody remembers are often the easiest way in.
3. Vulnerability discovery
Tools and manual review work together. Automated tools cover broad ground quickly. The tester then follows the interesting paths by hand, testing how the app handles unexpected input, altered requests and out-of-order steps.
4. Exploitation
Here the test separates itself from scanning. The tester tries to turn a weakness into real impact: reading another tenant's records, taking over an account, or chaining two minor issues into a serious one. Good testers confirm impact without causing damage, and they stop and report immediately if they find something critical.
5. Reporting and debrief
A useful report has an executive summary a non-technical leader can read, and technical detail developers can act on. For each finding it should give steps to reproduce, evidence, severity, business impact and a clear fix. A debrief call, where testers walk your developers through the findings, usually saves days of confusion.
6. Retest
After fixes ship, the tester verifies them. A report that is never retested leaves you guessing whether the problem is actually gone.
A web pentest checklist built on the OWASP guide
The OWASP Web Security Testing Guide (WSTG) is the reference most testers work from. It offers a framework for testing web application controls, including identity, authentication, authorization, data privacy and API security. Use it to check that a proposed test plan is complete, and to organize your own pre-test preparation.
A practical checklist, following the areas OWASP lists:
Identity and user management
- Can usernames or accounts be enumerated through login, registration or reset messages?
- Are roles defined clearly, and can a user register with a role they should not have?
- Is account deactivation effective?
Authentication and MFA
- Are passwords and reset tokens handled safely?
- Is multi-factor authentication enforced where it should be, and can it be bypassed?
- Is there protection against automated guessing?
Authorization and access control
- Can one user reach another user's data by changing identifiers?
- Are role-based and attribute-based rules enforced on the server, not just hidden in the interface?
- Can a low-privilege user call administrative functions directly?
Session management
- Do sessions expire, rotate after login and end on logout?
- Are cookies configured to limit exposure?
- Is cross-site request forgery prevented on state-changing actions?
Data confidentiality, integrity and privacy
- Is sensitive data encrypted in transit and at rest?
- Do error messages, logs and responses leak more than they should?
- Can data be modified in transit between steps of a workflow?
Input handling
- Are injection and cross-site scripting defenses in place across forms, headers, uploads and API parameters?
API contracts and integrations
- Does every endpoint check authorization, including undocumented ones?
- Do third-party integrations and webhooks validate what they receive?
Business logic
- Can steps be skipped, repeated or reordered?
- Can limits, prices, quotas or approvals be manipulated?
Treat this as a starting point. Add the workflows only your business has, such as how a clinic portal shares records or how a billing run is approved. Those are where generic checklists stop and a skilled tester earns their fee.
Scoping a test around risk
Not every application deserves the same depth. Start with what would hurt most if it failed: systems that hold regulated data, process payments, expose customer accounts or connect to critical back-end services. Our overview of penetration testing types shows how to match web, network and cloud tests to risk.
A few scoping questions help:
- What data does the application hold, and which regulations apply to it?
- Which user roles exist, and which would an attacker most want?
- What changed since the last test: new features, new integrations, a migration?
- Which compliance framework is asking for evidence, if any?
SOC 2, HIPAA, PCI-DSS and ISO 27001 programs often expect evidence of regular security testing. Confirm the exact requirement with your auditor, and have the scope and report written so they serve that purpose.
For younger companies with small teams, the timing question is different: what is the smallest test that protects the next funding round or enterprise deal? We cover that in our guide to penetration testing in startups.
Making testing continuous
A yearly pentest gives you a snapshot, and your code changes weekly. The OWASP testing framework treats security as an iterative, continuous cycle rather than a single event, woven into requirements, development and operations.
In practice that looks like this:
- Static and dependency checks on every commit or pull request.
- Automated dynamic scans against staging on a regular schedule.
- A manual pentest after major releases, architecture changes or new integrations.
- Runtime monitoring to catch what slips through. Our guide to runtime application security explains this layer.
Teams that wire code-quality and security checks into their pipeline get findings while the code is still fresh. Examples of GitLab and SonarQube integrations show how this strengthens a software delivery workflow.
Acting on the report
A pentest report can contain dozens of findings. Without a plan, it becomes a document nobody finishes reading.
Prioritize by exploitability and impact. Severity scores are a starting point, but context matters: a medium-rated flaw on your payments endpoint may outrank a high-rated one on an internal tool. Evidence that a vulnerability is being exploited in the wild should move it up the list. We explain this in why KEV beats CVSS alone.
Assign owners and dates. Every finding needs a named person and a target date. Critical issues usually get days, not quarters.
Fix the cause, not the instance. If one endpoint skipped an authorization check, ask where else the same pattern appears. A shared library or middleware fix beats patching routes one by one.
Retest. Ask the testers to confirm each fix. Keep the evidence for auditors.
Feed the results into your wider process. Findings belong in the same tracking and reporting flow as every other vulnerability. Our enterprise vulnerability management process guide shows how to do that.
AI coding assistants are starting to appear in remediation workflows. NIST research suggests language models can help repair vulnerabilities in simple cases but need specialized prompting for complex real-world code. Have a developer review every generated fix, and retest.

Choosing a testing provider
Whether you test in-house or hire out, judge the work on a few things:
- Methodology: the plan should map to a recognized framework such as the OWASP WSTG, with manual testing and not just tool output.
- Tester experience: you should be able to speak directly with the people doing the work.
- Reporting: sample reports should be clear, reproducible and written for both executives and developers.
- Safety: rules of engagement, communication during testing and handling of your data should be explicit.
- Retesting: verification of fixes should be part of the engagement.
- Fit with your compliance needs: the deliverables should match what your auditors expect.
A good provider will also ask you hard questions before quoting. If a proposal arrives without any scoping conversation, that is a sign the test will be generic.
Our perspective
Most of the web application incidents we see start with a gap between teams, not a clever exploit. The developers tested the code, the cloud team secured the platform, and nobody owned the space between, such as the API that trusted the front end or the staging server with production data.
That is why we think a pentest works best as one part of a unified security program. Our approach is to run testing alongside 24/7 threat detection, vulnerability management, cloud management and compliance work, with one provider accountable for all of it. When a tester finds a weakness, the same team can check whether monitoring would have caught it, patch it, and document the fix for your auditors.
We also believe findings should be explained by the practitioners who found them. You should be able to talk directly with seasoned specialists about what was exploited and why, then get a clear plan with predictable, flat-rate pricing instead of a surprise invoice for the follow-up work.
For small teams with limited budgets, the practical advice is to start with the application that holds your most sensitive data, test it properly, and build from there.
Nick - Sr. Executive
How Nexus can help
Nexus provides penetration testing and vulnerability management together with 24/7 real-time threat detection, incident response, cloud management across AWS, Azure and Google Cloud, and compliance assessments for SOC 2, HIPAA, PCI-DSS and ISO 27001. Everything sits under one unified SLA, so you work with a single accountable provider rather than several vendors.

If you are planning a web application test or want to see how it fits with your wider security and compliance work, look at our cybersecurity and IT services or start from the Nexus home page.
FAQ
How often should we test a web application?
At minimum, test after major releases, architecture changes and new integrations, and on a regular schedule your risk and compliance obligations justify. Many organizations pair a yearly manual test with automated scans between tests. Confirm any frequency your auditor or regulator requires.
Is a vulnerability scan enough?
A scan is a valuable baseline, but it matches known patterns and cannot judge your business logic. A manual pentest adds human reasoning about chained attacks, access control and workflows. Used together, they cover far more than either does alone.
Will a pentest disrupt our live application?
It should not if it is planned well. Scope, testing windows, emergency contacts and restrictions on risky techniques are agreed in writing beforehand. Many teams run the heaviest tests against a staging environment that mirrors production.
What should we prepare before the test starts?
Gather architecture notes, a list of domains and APIs, test accounts for each user role, and the name of someone who can respond during testing. Written authorization and clear rules of engagement come first. The better the preparation, the more time testers spend finding real issues.
How is the OWASP Testing Guide used in a pentest?
Testers use it as a structured set of test areas covering identity, authentication, authorization, sessions, data and APIs. You can use it to confirm a test plan leaves nothing out. It is a framework, so tailor it to your own application.
Sources
- Security Testing and Assessment Methodologies (NIST)
- OWASP Web Security Testing Guide: The Testing Framework
- Categorization of Software Errors that led to Security Breaches (NIST)
- Penetration Testing, OWASP DevSecOps Guideline
- Exploring Prompt Patterns for Effective Vulnerability Repair (NIST)
