← All lessons Stage 3 · Lesson 11
20 min

Writing a finding that gets fixed

Stage 3 · Lesson 11 · 20 minutes · Requires the stage


The one-line answer

A finding is only useful if someone fixes it — so a good report makes the problem easy to understand, easy to reproduce and easy to fix, in that order.

The boundary, one last time this stage: you only ever report findings from systems you were authorised to test — or, for real-world discoveries, through the owner's official disclosure channel. Never demand payment, publish details early, or access more data "to prove it".


Why you should care

In a real job, the report is the product. A VAPT client or a development team never sees your Burp history — they see your write-up. A brilliant finding badly written gets ignored, downgraded or argued about. An average finding clearly written gets fixed.

Writing well is also what makes you stand out in hiring. Your Stage 6 portfolio (Lesson 1 there) will be built from reports like the one you write in this lesson. And this is the defensive payoff of the whole stage: a good report is what actually protects users.


How it actually works

Who reads your report

At least two different people:

  • A manager reads the title, severity and impact to decide how urgent it is.
  • A developer reads the steps and remediation to reproduce and fix it.

Write each section for the person who'll use it.

The structure of a finding

1. Title — the bug, where, and the effect, in one line.

  • Weak: SQL injection
  • Strong: SQL injection in product category filter allows reading all user records

2. Severity — Critical / High / Medium / Low / Informational, with a short reason. (See CVSS below.)

3. Summary — two or three plain-English sentences: what's wrong and why it matters. No jargon a manager wouldn't follow.

4. Affected component — exact URL/endpoint, parameter, method, and environment (e.g. GET /products?category= on shop-staging.example.com).

5. Steps to reproduce — numbered, exact, copy-pasteable. Assume the reader has never seen the app.

1. Log in as a standard user (test account: userA).
2. Open /products and select any category.
3. In Burp, send the request GET /products?category=Gifts to Repeater.
4. Change the category value to: Gifts'--
5. Send the request. Unreleased products appear in the response (see Evidence 1).

6. Impact — what an attacker could realistically do, and to whom. Be specific and honest: "could read the email addresses and password hashes of all ~40,000 customers", not "could hack everything". Don't exaggerate — it costs you credibility.

7. Evidence — screenshots or request/response pairs that prove each step. Mask anything sensitive (real personal data, tokens) and use the minimum needed to prove the point.

8. Remediation — the specific fix, plus defence in depth. Link to a reference (OWASP cheat sheets are ideal).

  • Weak: "Sanitise input."
  • Strong: "Use parameterised queries for the category lookup (see example). Additionally, run the application's database account with read-only access to the products table, and return a generic error page instead of database errors."

9. References — OWASP page, CWE ID (e.g. CWE-89 for SQL injection), the relevant PortSwigger topic.

Severity and CVSS (the basics)

CVSS (Common Vulnerability Scoring System) is a standard way to score severity from 0.0 to 10.0. It asks questions such as:

  • Attack vector — can it be done over the internet, or only locally?
  • Attack complexity — does it need special conditions?
  • Privileges required — none, a normal user, an admin?
  • User interaction — does a victim have to click something?
  • Impact on confidentiality (reading data), integrity (changing data) and availability (breaking the service).

You use a free online CVSS calculator (FIRST, the organisation behind CVSS, publishes one) to turn the answers into a score. You'll see both CVSS 3.1 and the newer 4.0 in industry — use whichever your client or programme asks for.

ScoreRating
9.0–10.0Critical
7.0–8.9High
4.0–6.9Medium
0.1–3.9Low

CVSS is a starting point. Context matters: an IDOR exposing order numbers is not the same as one exposing medical records, even with similar scores. Say so in the impact section.

Responsible (coordinated) disclosure

Recall Stage 0 Lesson 9. If you find something outside a formal engagement — for example, you notice a real bug while using a site normally:

  1. Stop. Don't explore further or access more data to "confirm".
  2. Find the official channel: a security.txt file (/.well-known/security.txt), a bug bounty programme, or a security contact on the site. In India, you can also report to CERT-In, the national cyber-security agency.
  3. Report privately and clearly, using the structure above.
  4. Give them reasonable time to fix it before discussing it publicly — and follow the programme's rules.
  5. Never demand money, threaten, or publish before it's fixed. That moves you from researcher to extortion.

Tie it to your habits

The writeup habit from Stage 0 Lesson 10 is the raw material: if you noted each request, response and change as you went, writing the report takes minutes. If you didn't, you'll be trying to reproduce your own finding from memory.


See it yourself

  1. Pick one PortSwigger lab you've already solved in this stage.
  2. Solve it again, this time capturing evidence as you go (request/response pairs, screenshots).
  3. Write a full finding using the nine-part structure above.
  4. Score it in the FIRST CVSS calculator and write one sentence on whether the context makes it more or less serious than the score.
  5. Ask a friend who doesn't do security to read only your summary and impact. If they can't explain the problem back to you, rewrite them.

How attackers abuse this

Attackers don't write reports — which is exactly the point of this lesson. The other side of it:

  • Vague reports get ignored or deprioritised, leaving the bug open for an attacker to find.
  • Reports that overstate impact train teams to distrust security findings.
  • Leaked or carelessly shared reports (with real tokens or personal data in screenshots) can themselves give attackers a recipe.

The defensive fix:

  • Write so the bug gets fixed fast: clear title, honest impact, exact steps, specific remediation.
  • Treat reports as confidential; mask secrets and personal data; share only with the people who need them.
  • Retest after the fix and confirm in writing that it's resolved.

Common mistakes

  • Titles that only name the bug class. Say where and what it allows.
  • Steps that skip "obvious" parts. The developer wasn't there. Every click and change goes in.
  • Exaggerated impact. Be specific and honest.
  • Generic remediation ("validate input"). Give the specific fix for this code path.
  • Unmasked evidence — real customer data or live session tokens in screenshots.
  • Going public too early or asking for payment outside a bounty programme.

Check yourself

  1. Rewrite this title so it's useful: XSS found.
  2. Which two sections of a report does a developer rely on most, and why?
  3. You notice a real website exposes other users' invoices when you change a number. What should you do — and not do?
Answers
  1. For example: Stored XSS in product review field runs attacker JavaScript in every visitor's browser — it names the bug, the location and the effect.
  2. Steps to reproduce (so they can see the bug themselves) and remediation (so they know exactly what to change).
  3. Stop immediately; don't view more invoices. Find the official channel (security.txt, bug bounty programme, security contact, or CERT-In), report privately with clear steps and minimal evidence, and give them time to fix it. Don't publish, share the data, or ask for money.

Your lab

Write a complete, portfolio-ready report for one PortSwigger lab you've solved in Stage 3, using the nine-part structure and a CVSS score. Save it to your writeup folder — you'll use it in Stage 6's portfolio lesson.

References:

  • PortSwigger Web Security Academy (for re-solving the lab): https://portswigger.net/web-security
  • FIRST CVSS calculator and specification: https://www.first.org/cvss/
  • OWASP Cheat Sheet Series (remediation references): https://cheatsheetseries.owasp.org/

Summary in your language

தமிழில் சுருக்கம்

ஒரு finding சரிசெய்யப்பட்டால் மட்டுமே பயனுள்ளது — எனவே நல்ல report பிரச்சினையைப் புரிந்துகொள்ள, மீண்டும் உருவாக்க, சரிசெய்ய எளிதாக்க வேண்டும். அமைப்பு: தலைப்பு, severity, சுருக்கம், பாதிக்கப்பட்ட பகுதி, மீண்டும் உருவாக்கும் படிகள், தாக்கம், சான்று, தீர்வு, குறிப்புகள். CVSS 0–10 மதிப்பெண் தருகிறது, ஆனால் சூழலும் முக்கியம். உண்மையான தளத்தில் பிழை கண்டால் நிறுத்துங்கள், அதிகாரப்பூர்வ வழியில் (security.txt, bug bounty, CERT-In) தனிப்பட்ட முறையில் தெரிவியுங்கள், பணம் கேட்காதீர்கள், முன்கூட்டியே வெளியிடாதீர்கள்.

हिंदी में सारांश

कोई finding तभी काम की है जब वह fix हो — इसलिए अच्छी report समस्या को समझना, दोहराना और ठीक करना आसान बनाती है। ढाँचा: title, severity, summary, प्रभावित हिस्सा, reproduce करने के steps, impact, evidence, remediation और references। CVSS 0–10 का score देता है, पर context भी मायने रखता है। किसी असली site पर bug दिखे तो रुक जाएँ, official channel (security.txt, bug bounty, CERT-In) से निजी तौर पर बताएँ, पैसे न माँगें और पहले से public न करें।

Want this summary in Malayalam, Telugu, Kannada or another language? Tell us — the most requested languages get added next.


What's next

Stage 3 complete. Now the place most modern bugs live — the APIs behind every app: How APIs differ from web apps