Skip to main content
XsiSec.com
HomeReposBlogProjectsPortfolio
© 2026 XsiSec.com
Securitysecurity.txt
Updated 2026-07-30 · v1.0.0+2026-07-30.30ac6e5 · 30ac6e5
  1. Home
  2. ›Blog
  3. ›PortSwigger security writeups
Blog topic

PortSwigger security writeups

Practical PortSwigger Web Security Academy notes, labs, exploitation techniques, and remediation guidance.

21
Matching posts
User ID controlled by param with password disclosure – Article cover imageArticle

User ID controlled by param with password disclosure

User ID controlled by param with password disclosure: This lab’s account page prefilled the current user’s password in a masked input. The goal was t…

2023-05-16↗
access-controllab10portswigger
User ID controlled by request parameter, with unpredictable user IDs – Article cover imageArticle

User ID controlled by request parameter, with unpredictable user IDs

User ID controlled by request parameter, with unpredictable user IDs: This lab contains a blind SQL injection vulnerability. The application uses a t…

2023-05-06↗
access-controllab4portswigger
User role controlled by request parameter – Article cover imageArticle

User role controlled by request parameter

User role controlled by request parameter: This lab has an admin panel at /admin, which identifies administrators using a forgeable cookie. • PortSwi…

2023-04-21↗
access-controlportswiggercookie
DOM XSS using web messages and a JavaScript URL – Article cover imageArticle

DOM XSS using web messages and a JavaScript URL

DOM XSS using web messages and a JavaScript URL: This lab demonstrates a DOM based redirection vulnerability that is triggered via web messaging. • P…

2022-12-05↗
domdom-basedportswigger
DOM XSS using web messages and a JavaScript URL – Article cover imageArticle

DOM XSS using web messages and a JavaScript URL

DOM XSS using web messages and a JavaScript URL: This lab demonstrates a DOM based redirection vulnerability triggered by web messaging. • PortSwigge…

2022-12-02↗
dom-basedlab1portswigger
CSRF with broken Referer validation – Article cover imageArticle

CSRF with broken Referer validation

CSRF with broken Referer validation: This lab's email change functionality is vulnerable to CSRF. It attempts to detect and block cross domain reques…

2022-11-30↗
csrflab8portswigger
CSRF where token is duplicated in cookie – Article cover imageArticle

CSRF where token is duplicated in cookie

CSRF where token is duplicated in cookie: This lab’s email change functionality is vulnerable to CSRF. It uses the insecure "double submit" CSRF prev…

2022-11-30↗
csrflab6portswigger
CSRF where token is tied to non-session cookie – Article cover imageArticle

CSRF where token is tied to non-session cookie

CSRF where token is tied to non session cookie: This lab's email change functionality is vulnerable to CSRF. It uses tokens to try to prevent CSRF at…

2022-11-29↗
csrflab5portswigger
CSRF where token is duplicated in cookie – Article cover imageArticle

CSRF where token is duplicated in cookie

CSRF where token is duplicated in cookie: This lab contains a blind SQL injection vulnerability. The application uses a tracking cookie for analytics…

2022-11-29↗
lab6portswiggerblind-sql
CSRF where token validation depends on request method – Article cover imageArticle

CSRF where token validation depends on request method

CSRF where token validation depends on request method: This lab's email change functionality is vulnerable to CSRF. It attempts to block CSRF attacks…

2022-11-24↗
csrflab2portswigger
CSRF vulnerability with no defenses – Article cover imageArticle

CSRF vulnerability with no defenses

CSRF vulnerability with no defenses: This lab's email change functionality is vulnerable to CSRF. • PortSwigger • CSRF • csrf, lab1

2022-11-24↗
csrflab1portswigger
Basic clickjacking with CSRF token protection – Article cover imageArticle

Basic clickjacking with CSRF token protection

Basic clickjacking with CSRF token protection: To solve the lab, craft some HTML that frames the account page and fools the user into deleting their…

2022-11-22↗
clickjackingcsrflab1
Clickjacking with a frame buster script – Article cover imageArticle

Clickjacking with a frame buster script

Clickjacking with a frame buster script: This lab is protected by a frame buster which prevents the website from being framed. • PortSwigger • Clickj…

2022-11-22↗
clickjackingframe-busteringportswigger
Exploiting XXE via image file upload – Article cover imageArticle

Exploiting XXE via image file upload

Exploiting XXE via image file upload: This lab lets users attach avatars to comments and uses the Apache Batik library to process avatar image files.…

2022-11-17↗
file-uploadlab8portswigger
Blind SQL injection with conditional responses part 2 – Article cover imageArticle

Blind SQL injection with conditional responses part 2

Blind SQL injection with conditional responses part 2: The TrackingId cookie is vulnerable to boolean‑based blind SQL injection. The app leaks a sign…

2022-11-08↗
blind-sqllab10portswigger
DOM XSS sink using location.search – Article cover imageArticle

DOM XSS sink using location.search

DOM XSS sink using location.search: Exploit the search endpoint’s reflected output to achieve XSS by breaking out of the single‑quoted context and in…

2022-10-06↗
lab3-lab4portswiggersinks
Stored XSS into HTML context with nothing encoded – Article cover imageArticle

Stored XSS into HTML context with nothing encoded

Stored XSS into HTML context with nothing encoded: Experiment with XSS filter evasion techniques to achieve JavaScript execution without user interac…

2022-10-06↗
lab2portswiggerstored-xss
Reflected XSS into HTML context with most tags and attributes blocked – Article cover imageArticle

Reflected XSS into HTML context with most tags and attributes blocked

Reflected XSS into HTML context with most tags and attributes blocked: Perform a reflected XSS in the search feature that is protected by a WAF, and…

2022-09-14↗
lab3portswiggerreflected-xss
SQL injection UNION attack, finding a column containing text – Article cover imageArticle

SQL injection UNION attack, finding a column containing text

SQL injection UNION attack, finding a column containing text: Exploit a SQL injection in the product category filter to perform a UNION based attack…

2022-09-11↗
portswiggersql-injectionunion
SQL injection vulnerability allowing login bypass – Article cover imageArticle

SQL injection vulnerability allowing login bypass

SQL injection vulnerability allowing login bypass: Exploit a SQL injection in the product category filter using a boolean condition to return uninten…

2022-09-11↗
portswiggersql-injection
SQL injection attack, listing the database contents on Oracle – Article cover imageArticle

SQL injection attack, listing the database contents on Oracle

SQL injection attack, listing the database contents on Oracle: Exploit an SQL injection in the product category filter to enumerate the database, ide…

2022-09-11↗
portswiggersql-injection
Browse the complete archive →