What does a web application penetration test cover?
A web application penetration test looks at the application itself: its pages and forms, its login and user roles, the data it handles and the server settings behind it. PCI SSC guidance describes application-layer testing as covering websites, web applications, thick clients and other applications, and notes that fixing what it finds may mean redesigning or rewriting insecure code.
Most web apps also talk to a back-end API. The same PCI SSC guidance says that API may be in scope, and that the tester should understand how the web app and the back end interact before deciding whether the API needs testing on its own. Our guide to API penetration testing covers that case.
NIST defines penetration testing as security testing in which assessors mimic real-world attacks to find ways around the security features of an application, system or network, according to NIST SP 800-115. For a web app, that means trying to get past the login, see other users' data, run your own code or queries, or abuse the way the app is meant to work.
What is in the OWASP Top 10?
The OWASP Top 10 is OWASP’s ranked list of ten categories of web application security risk. The current edition is the OWASP Top 10:2025, which OWASP calls the 8th installment of the list. According to its introduction, contributors donated data on over 2.8 million applications, and the 10 categories group 248 CWEs (types of software weakness). You will still see the 2021 numbering in older reports, so the table maps each 2025 category to its closest 2021 one.
| 2025 category | What it means | Closest 2021 category |
|---|---|---|
| A01:2025 Broken Access Control | Users can see or do things they should not, such as open another customer’s record or reach an admin page. Server-side request forgery (SSRF) is now part of this category. | A01:2021 Broken Access Control, plus A10:2021 Server-Side Request Forgery |
| A02:2025 Security Misconfiguration | Unsafe settings in the app, the server or the cloud service behind it. | A05:2021 Security Misconfiguration |
| A03:2025 Software Supply Chain Failures | Breakdowns or compromises in how the software you depend on is built, distributed or updated. | A06:2021 Vulnerable and Outdated Components, expanded |
| A04:2025 Cryptographic Failures | Sensitive data that is not encrypted, or is protected badly. | A02:2021 Cryptographic Failures |
| A05:2025 Injection | Untrusted input reaches an interpreter, as in SQL injection and cross-site scripting (XSS). | A03:2021 Injection |
| A06:2025 Insecure Design | Security controls that were never designed in. OWASP says an insecure design cannot be fixed by a perfect implementation. | A04:2021 Insecure Design |
| A07:2025 Authentication Failures | Weak login, password or session handling that lets an attacker pose as a real user. | A07:2021 Identification and Authentication Failures |
| A08:2025 Software or Data Integrity Failures | The app trusts code, updates or data without checking they have not been tampered with. | A08:2021 Software and Data Integrity Failures |
| A09:2025 Security Logging and Alerting Failures | Attacks are not recorded, or nobody is alerted, so they go unnoticed. | A09:2021 Security Logging and Monitoring Failures |
| A10:2025 Mishandling of Exceptional Conditions | The app fails unsafely when something unusual happens, for example an error message that leaks system details or a check that fails open. | New in 2025 |
The Top 10 groups hundreds of weakness types under ten headings, so it works as a map of risk rather than a full test plan. Ask a provider how their work also maps to a testing guide, such as the one below.
What does the OWASP Web Security Testing Guide cover?
The OWASP Web Security Testing Guide (WSTG) is OWASP’s testing resource for web applications. Its latest stable version is 4.2. Its web application testing chapter splits the work into these categories:
- Information gathering. Mapping the app, its entry points and the technology it runs on.
- Configuration and deployment management. Server, platform and cloud settings, exposed files and admin interfaces.
- Identity management. How accounts are registered, provisioned and named, and what roles exist.
- Authentication. Login, password rules, lockout, password reset and multi-factor steps.
- Authorization. Whether each user can only reach what they are allowed to.
- Session management. Cookies and tokens: how they are issued, protected, expired and ended at logout.
- Input validation. Injection of every kind, including SQL injection and cross-site scripting.
- Error handling. What error messages and stack traces give away.
- Weak cryptography. Encryption in transit and at rest.
- Business logic. Whether the app’s own rules and workflows can be bent or skipped.
- Client-side testing. Weaknesses that run in the user’s browser.
The guide also has a section on API testing, which in version 4.2 covers GraphQL.
How does a web application penetration test work?
NIST SP 800-115 describes four phases: planning, discovery, attack and reporting. NIST notes that this is one of many acceptable ways to group the work. In practice, a web app test runs like this:
- Agree scope and rules. List the URLs, environments and user roles in scope. PCI SSC guidance says the conditions of testing, including the time window and how far exploitation may go, should be documented and agreed before testing starts.
- Provide access. PCI SSC guidance says testing should be done from the perspective of the app’s defined roles, and strongly encourages organizations to supply credentials for each one. That is how a tester finds out whether a user can escalate privileges or reach data they should not.
- Discovery. The tester maps the app and compares what it finds with known vulnerabilities and their own knowledge. NIST says manual work can find new or obscure vulnerabilities that automated scanners may miss.
- Attack. The tester tries to exploit each likely weakness to confirm it, and uses what they gain to look further. NIST says most penetration tests look for combinations of vulnerabilities that give more access than any single one would.
- Report. Each finding is written up with its severity, the evidence and a recommended fix. Our guide to what’s in a penetration test report explains what to look for.
- Fix and retest. You fix the findings, then the fixes are tested again to prove they worked.
What should a good web app pen test check?
Whatever the method, ask the provider to show how their test covers these areas. Each links to Signal, our free page of exploited vulnerabilities by weakness type, so you can see real cases.
- Authentication. Can an attacker get in without valid credentials, guess or reset passwords, or skip a multi-factor step? See improper authentication (CWE-287).
- Session management. Are session cookies and tokens protected, do they expire, and are they ended at logout?
- Access control. Can one user open another user’s record by changing an ID, or reach an admin function without admin rights? See missing authorization (CWE-862).
- Injection. Can input change a database query or put script into a page? See SQL injection (CWE-89) and cross-site scripting (CWE-79).
- File and URL handling. Can a crafted path read files outside the web folder, or a crafted URL make the server call internal systems? See path traversal (CWE-22) and server-side request forgery (CWE-918).
- Business logic. Can a user skip a step in a workflow, reuse a discount, or change a price or quantity they should not control?
- Configuration and error handling. Are debug pages, default accounts, backup files or detailed errors exposed?
Web app pen test vs automated vulnerability scanner
A scanner and a penetration test answer different questions. NIST SP 800-115 says a vulnerability scanner identifies the software running on a host and matches it against a database of known vulnerabilities. It also says scanners can have a high false positive rate, reporting vulnerabilities when none exist, and that they check only for the possible existence of a vulnerability. A penetration test exploits the vulnerability to confirm it.
Some flaws do not show up to a scanner at all. The OWASP testing guide says business logic vulnerabilities cannot be detected by a vulnerability scanner, because they depend on how the app is meant to work.
| Automated vulnerability scanner | Web application penetration test | |
|---|---|---|
| What it does | Matches what it finds against known vulnerabilities | Attempts to exploit weaknesses to show what an attacker could reach |
| Confirms findings | No: it reports the possible existence of a vulnerability | Yes: a successful exploit confirms the finding |
| False positives | Can be high, so results need interpreting | Each confirmed finding has been shown to be exploitable |
| Business logic flaws | Cannot detect them, per OWASP | In scope when the test covers the app’s workflows |
A scan still has value. NIST says scanning is highly automated and can help identify outdated software, missing patches and misconfigurations. The two work well together: a scan for breadth, a penetration test for depth.
How often should you pen test a web application?
There is no single rule. PCI SSC’s penetration testing guidance, written for the PCI DSS version in force in 2017, says penetration testing must be performed at least annually and after any significant change, for example an infrastructure or application upgrade or modification. It leaves it to each organization to decide what counts as significant.
For a web app, the practical trigger is change. New features, new user roles, a new login provider or a new payment flow all change what an attacker can reach. If you release every week, a test from last year describes an app that no longer exists. Our guide to how often to run a penetration test compares PCI DSS, SOC 2, HIPAA and cyber insurers, and our guide to continuous penetration testing covers testing on a schedule.
How much does a web application penetration test cost?
Published ranges from testing firms give a sense of scale. They are not quotes.
| Source | Web application test | What they say moves the price |
|---|---|---|
| Synack (2026) | $5,000 to $30,000 | A simple static site with no user accounts sits at the low end. Multi-tenant SaaS, single sign-on, payments, APIs, several user roles and a thorough gray-box walkthrough push it up. |
| Invicti | $4,000 to $20,000+ | Heavily influenced by the number of endpoints and authentication scenarios, plus business logic depth. |
Invicti also warns that some low “starting from” prices can be little more than commissioned automated scans. Our pen test cost guide covers every test type and what a quote should include.
How does AvalonX fit?
AvalonX Artemis runs AI-driven penetration tests against websites, web apps, APIs and internet-facing hosts, and reports every finding ranked by severity, with evidence and a recommended fix. These are our published plans, as they appear on our pricing page:
| Plan | Price | Targets | Penetration testing | 12 months at list price |
|---|---|---|---|---|
| Essentials | $249/month | Up to 3 | A full pen test every 90 days | $2,988 |
| Pro | $599/month | Up to 10 | A full pen test every 30 days | $7,188 |
| 360 | $899/month | Up to 10 | A full pen test every 7 days | $10,788 |
Our free offering is a free external vulnerability scan. It is a scan, not a penetration test: it shows what anyone on the internet can see about a domain you own. To track new exploited weaknesses, such as the ones linked above, follow Signal, our threat-intelligence feed.
Quick answers
What is web application penetration testing?
It is a security test in which a tester attacks a website or web app the way a real attacker would, to find weaknesses and confirm which ones can be exploited. The result is a report that lists each finding with its severity, the evidence and how to fix it.
What does a web application pen test check?
A thorough test covers authentication, session management, access control, input handling such as SQL injection and cross-site scripting, configuration, error handling and business logic. The OWASP Web Security Testing Guide groups these checks into categories that testers and buyers can use as a checklist.
What is the latest OWASP Top 10?
The OWASP Top 10:2025. Broken Access Control is still first, Security Misconfiguration is second and Software Supply Chain Failures is third. Mishandling of Exceptional Conditions is new at number ten, and server-side request forgery, a separate category in 2021, is now part of Broken Access Control.
Is a vulnerability scanner the same as a web app pen test?
No. NIST says vulnerability scanners match software against known vulnerabilities and can have a high false positive rate, while a penetration test attempts to exploit weaknesses to confirm them. OWASP says business logic flaws cannot be detected by a vulnerability scanner.
How often should a web application be pen tested?
There is no single rule. PCI SSC guidance calls for penetration testing at least annually and after any significant change, such as an application upgrade or modification. An app that changes often may need testing more often, so match testing to how often you release.
How much does a web application penetration test cost?
Synack’s 2026 pricing guide puts a web application pen test at $5,000 to $30,000. Invicti puts web application, SaaS and API tests at $4,000 to $20,000 or more. The price follows scope: user roles, integrations, payments, single sign-on and APIs all add effort.
Related guides
Sources
- OWASP, OWASP Top 10:2025. https://top10.owasp.org/2025/
- OWASP, OWASP Top 10:2025, Introduction (what’s new, data set). https://top10.owasp.org/2025/0x00_2025-Introduction/
- OWASP, OWASP Top 10:2021. https://top10.owasp.org/2021/
- OWASP, Web Security Testing Guide project page (stable version 4.2). https://owasp.org/www-project-web-security-testing-guide/
- OWASP, Web Security Testing Guide v4.2, chapter 4, Web Application Security Testing. https://wstg.owasp.org/v4.2/4-Web_Application_Security_Testing/
- OWASP, Web Security Testing Guide v4.2, 4.10.0 Introduction to Business Logic. https://wstg.owasp.org/v4.2/4-Web_Application_Security_Testing/10-Business_Logic_Testing/00-Introduction_to_Business_Logic/
- NIST, SP 800-115, Technical Guide to Information Security Testing and Assessment, sections 4.3 and 5.2. https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-115.pdf
- PCI Security Standards Council, Information Supplement: Penetration Testing Guidance, version 1.1, September 2017, sections 1.3, 2.3, 2.6, 4.1.3 and 4.2.1. https://www.pcisecuritystandards.org/documents/Penetration-Testing-Guidance-v1_1.pdf
- Synack, How Much Does a Pentest Cost? (2026 Pricing Guide), June 2026. https://www.synack.com/?p=27316
- Invicti, How much does penetration testing cost in 2026? (Pricing Guide). https://www.invicti.com/blog/web-security/penetration-testing-pricing-guide
Last reviewed 5 December 2026.