Skip to content

Sample report. Fictional company, application and data.

Prepared by WeHackU

Penetration test report

Acme Example Inc.

https://app.example.com

Reference
WH-7A3F0C
Testing window
Oct 5 to Oct 16, 2026
Report issued
Oct 19, 2026
Version
1.0
Findings by severity5 total
Critical
1
High
1
Medium
2
Low
1
Info
0

Real reports are delivered as a PDF through your engagement page, and every finding is also tracked in your account. The company, website, people and data on this page are invented; hostnames use reserved example domains.

Executive summary

WeHackU carried out a penetration test of Acme Example Inc.'s web application and REST API from Oct 5 to Oct 16, 2026, testing from the outside and from inside test accounts in two separate tenants.

We found 5 issues: 1 critical, 1 high, 2 medium and 1 low. The most serious, F-01, lets anyone who knows a user's email address take over that account. F-02 breaks tenant isolation, so any signed-in user can read every customer's invoices.

Both were reported in the engagement thread as soon as they were confirmed. We recommend fixing F-01 and F-02 before anything else, then ordering a retest to confirm the fixes. The application's handling of SQL queries, session cookies and outbound requests held up well; see What held up.

Scope

In scope
https://app.example.comhttps://app.example.com/api/v1/*
Excluded
/billing/checkout (live payment provider)
Environment
Staging, configured to mirror production
Test accounts
Owner and member roles in two tenants (Tenant A, Tenant B)
Ownership
Verified by DNS TXT record before testing
Testing source
198.51.100.24 (documentation address)

Methodology

Testing followed the OWASP Web Security Testing Guide and the OWASP API Security Top 10 (2023). Every finding below was reproduced and confirmed before it was reported. No denial-of-service, social engineering or destructive actions were performed.

Mapping
Every page, endpoint, role and parameter, from the UI and the API.
Authentication and sessions
Sign-in, password reset, token lifetime, logout and session fixation.
Access control and tenancy
Every object endpoint, tested across roles and across tenants.
Input handling
Injection, cross-site scripting, SSRF and file handling.
Business logic
Workflow bypasses, replay, race conditions and plan limits.
Configuration
Headers, CORS, error handling and exposed components.

Findings overview

All findings with severity and CVSS score
IDFindingCVSS
F-01Password reset token returned in the API responseCritical9.1
F-02Cross-tenant invoice access by changing the IDHigh7.1
F-03Stored cross-site scripting in project namesMedium5.4
F-04No rate limiting on sign-inMedium5.3
F-05Server software versions disclosed in response headersLow3.7
F-01CriticalStatus: Open

Password reset token returned in the API response

9.1

CVSS v3.1 base

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack vector
NetworkAV:N
Attack complexity
LowAC:L
Privileges required
NonePR:N
User interaction
NoneUI:N
Scope
UnchangedS:U
Confidentiality
HighC:H
Integrity
HighI:H
Availability
NoneA:N
Affected
POST /api/v1/auth/password-reset
Weakness
CWE-640: Weak Password Recovery Mechanism

Description

The endpoint that starts a password reset returns the reset token in its JSON response as well as emailing it. Anyone who knows a user's email address can request a reset and use the returned token to set a new password, with no access to the inbox needed.

Steps to reproduce

  1. Without signing in, send POST /api/v1/auth/password-reset with the email address of a test account in Tenant B.
  2. Observe that the response body contains reset_token.
  3. Send POST /api/v1/auth/password-reset/confirm with that token and a new password.
  4. Sign in to the Tenant B account with the new password.

Evidence

Request
POST /api/v1/auth/password-reset HTTP/2
Host: app.example.com
Content-Type: application/json

{"email":"owner@tenant-b.example"}
Response
HTTP/2 200 OK
Content-Type: application/json

{"ok":true,"reset_token":"9d4c1e7a…b02f","expires_in":3600}

Impact

Full takeover of any account, including tenant owners, knowing only the email address. The attacker gets everything that account can see and do, and the real user is locked out.

Recommendation

  • Never include the token in the response. Return the same generic message whether or not the email exists.
  • Deliver the token only by email; store only a hash of it, make it single-use and expire it within 30 minutes.
  • Invalidate existing sessions when a password is changed.
  • Check serializers for other debug fields leaking into production responses.
F-02HighStatus: Open

Cross-tenant invoice access by changing the ID

7.1

CVSS v3.1 base

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Attack vector
NetworkAV:N
Attack complexity
LowAC:L
Privileges required
LowPR:L
User interaction
NoneUI:N
Scope
UnchangedS:U
Confidentiality
HighC:H
Integrity
LowI:L
Availability
NoneA:N
Affected
GET and PATCH /api/v1/invoices/{id}
Weakness
CWE-639: Authorization Bypass Through User-Controlled Key

Description

The invoice endpoints load an invoice by its ID without checking that it belongs to the caller's tenant. IDs are sequential, so any signed-in user can read every invoice on the platform and change the status of invoices in other tenants.

Steps to reproduce

  1. Sign in as member@tenant-a.example (a member of Tenant A).
  2. Send GET /api/v1/invoices/inv_8124 (an invoice that belongs to Tenant B).
  3. Observe 200 OK with Tenant B's invoice instead of 404 Not Found.
  4. Send PATCH /api/v1/invoices/inv_8124 with {"status":"void"} and observe that Tenant B's invoice is voided.

Evidence

Request
GET /api/v1/invoices/inv_8124 HTTP/2
Host: app.example.com
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9…   (member, Tenant A)
Accept: application/json
Response
HTTP/2 200 OK
Content-Type: application/json

{
  "id": "inv_8124",
  "tenant_id": "ten_b71f",
  "customer": {
    "name": "Example Customer B",
    "email": "billing@tenant-b.example",
    "address": "1 Example Street, Example City"
  },
  "amount_due": 1840000,
  "currency": "usd",
  "status": "open"
}

Impact

Customer names, billing emails, addresses and amounts from every tenant can be read by any user with an account, and invoice status in other tenants can be changed. This breaks the tenant isolation the product promises its customers.

Recommendation

  • Scope every lookup by the tenant from the server-side session, never from the request: WHERE id = $1 AND tenant_id = $2.
  • Return 404 for objects outside the caller's tenant so IDs cannot be probed.
  • Enforce this in one shared authorization layer rather than per handler, and add cross-tenant regression tests for every object endpoint.
  • Random, non-sequential IDs add defence in depth. On their own they do not fix the issue.
F-03MediumStatus: Open

Stored cross-site scripting in project names

5.4

CVSS v3.1 base

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Attack vector
NetworkAV:N
Attack complexity
LowAC:L
Privileges required
LowPR:L
User interaction
RequiredUI:R
Scope
ChangedS:C
Confidentiality
LowC:L
Integrity
LowI:L
Availability
NoneA:N
Affected
PATCH /api/v1/projects/{id}, rendered on /settings/activity
Weakness
CWE-79: Improper Neutralization of Input During Web Page Generation

Description

Project names are stored as submitted and rendered as raw HTML in the workspace activity log. A member can save a name that runs script in the browser of any teammate who opens the activity page, including workspace admins. No Content-Security-Policy is set to limit injected scripts.

Steps to reproduce

  1. As a member of Tenant A, rename a project to <img src=x onerror=alert(document.domain)>.
  2. As the Tenant A admin, open Settings → Activity.
  3. Observe the script run in the admin's session.

Evidence

Request
PATCH /api/v1/projects/prj_2201 HTTP/2
Host: app.example.com
Content-Type: application/json

{"name":"<img src=x onerror=alert(document.domain)>"}

Impact

A member can perform actions as an admin of the same workspace, for example inviting a new admin. Session cookies are HttpOnly, so they cannot be read directly.

Recommendation

  • Render user-supplied text as text; remove the raw HTML rendering in the activity view.
  • If rich text is needed, sanitise it with an allow-list sanitiser on output.
  • Add a Content-Security-Policy that restricts script sources, as defence in depth.
F-04MediumStatus: Open

No rate limiting on sign-in

5.3

CVSS v3.1 base

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack vector
NetworkAV:N
Attack complexity
LowAC:L
Privileges required
NonePR:N
User interaction
NoneUI:N
Scope
UnchangedS:U
Confidentiality
LowC:L
Integrity
NoneI:N
Availability
NoneA:N
Affected
POST /api/v1/auth/login
Weakness
CWE-307: Improper Restriction of Excessive Authentication Attempts

Description

500 consecutive failed sign-in attempts against one test account from a single IP address were all processed at full speed, with no lockout, delay or challenge. Error messages also differ for unknown emails and wrong passwords. Testing stopped at 500 attempts to avoid affecting the service.

Steps to reproduce

  1. Send 500 sign-in requests with incorrect passwords for a test account.
  2. Observe every attempt return 401 without throttling.
  3. Compare responses for an unknown email ("No account with that email") and a wrong password ("Incorrect password").

Evidence

Response (attempt 500)
HTTP/2 401 Unauthorized
Content-Type: application/json

{"error":"Incorrect password"}

Impact

Attackers can guess passwords or replay leaked credentials at scale, and can confirm which email addresses have accounts.

Recommendation

  • Rate-limit sign-in per account and per IP address, with increasing delays after repeated failures.
  • Return one generic error for any failed sign-in.
  • Offer two-factor authentication, and require it for admin roles.
F-05LowStatus: Open

Server software versions disclosed in response headers

3.7

CVSS v3.1 base

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack vector
NetworkAV:N
Attack complexity
HighAC:H
Privileges required
NonePR:N
User interaction
NoneUI:N
Scope
UnchangedS:U
Confidentiality
LowC:L
Integrity
NoneI:N
Availability
NoneA:N
Affected
All responses from app.example.com
Weakness
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Description

Responses include the exact web server version and application framework. On its own this cannot be exploited. It does tell an attacker which known issues to look up.

Steps to reproduce

  1. Request any page and inspect the response headers.

Evidence

Response headers
HTTP/2 200 OK
Server: nginx/1.18.0
X-Powered-By: Express

Impact

Makes it quicker to find and target known vulnerabilities in outdated components.

Recommendation

  • Set server_tokens off; in nginx and call app.disable("x-powered-by") in Express.
  • Keep the web server and framework on supported, patched versions.

What held up

Controls we tested specifically and found working as intended:

  • All database queries we tested were parameterised; no SQL injection was found in any parameter.
  • Session cookies are HttpOnly, Secure and SameSite=Lax, and are rotated on sign-in.
  • The webhook URL feature blocks private, loopback and cloud-metadata addresses, including through redirects.
  • File uploads are type-checked server-side and served from a separate domain.

Remediation plan

Recommended order and timing of fixes
IDFix
F-01Never include the token in the response. Return the same generic message whether or not the email exists.Fix immediately
F-02Scope every lookup by the tenant from the server-side session, never from the request: WHERE id = $1 AND tenant_id = $2.Fix within 7 days
F-03Render user-supplied text as text; remove the raw HTML rendering in the activity view.Fix within 30 days
F-04Rate-limit sign-in per account and per IP address, with increasing delays after repeated failures.Fix within 30 days
F-05Set server_tokens off; in nginx and call app.disable("x-powered-by") in Express.Fix within 90 days

Once fixes are live, a retest confirms each one and produces an updated report showing what's resolved.

Example: the same finding in the updated report, after a retest confirms the fix

F-02Cross-tenant invoice access by changing the ID

Tested again on the fixed build. The request now returns 404 Not Found.

Status:Fixed(confirmed on retest)

Severity ratings

Severity follows the CVSS v3.1 base score. The vector shows exactly how each score was derived, so you can adjust it for your environment.

  • Critical9.0 to 10.0
  • High7.0 to 8.9
  • Medium4.0 to 6.9
  • Low0.1 to 3.9
  • Info0.0, observation with no direct risk

Your report follows this layout, written about your website with your evidence.

See pricing

Get a report like this for your site.

Add your hostname, verify it, describe the scope and pay a fixed price online, without a sales call.