Cross-Site Scripting (XSS): Cookie Theft – Advanced Payloads

The Exploit Blog

Penetration Testing Blog

Cross-Site Scripting (XSS): Cookie Theft - Advanced Payloads
Published on December 18, 2025
Written by Raxis Research Team

We reached into our vaults to bring you the final video in our cross-site scripting (XSS) series. If you missed the first two videos in the series, take a look at the full playlist on YouTube.

After discussing the basics of XSS and two evasion techniques that hackers use to get past remediation efforts, in this video we show more advanced stored XSS attacks that move beyond pentester proof of concepts to three real-world attacks that can cause harm to websites. 

  1. Cookie theft to update a webpage for all visitors
  2. Website defacement such as changing the website background to a photo of the attacker’s choosing or even redirecting users to the attacker’s website of choice
  3. Cross-Site Request Forgery (CSRF) that forces a user to send HTTP requests, such as deleting or updating data, each time they visit the webpage 

With injection listed as #5 on the new 2025 OWASP Top 10 list, these attacks are still very relevant today. Learn how the attacks work and how to remediate your web application to keep it secure from XSS exploits.

Cross-Site Scripting Part III: Cookie Theft - Advanced Payloads
Raxis Research Team

Raxis Research Team

The Raxis Research Team is dedicated to staying ahead of the threat landscape. Our experts dig into emerging exploits, uncover hidden vulnerabilities, and develop resources that power our penetration testing engagements. By combining curiosity with technical precision, the team equips Raxis testers with cutting-edge intelligence to simulate real-world attacks and strengthen client defenses.

About The Exploit

The Exploit is written by Raxis penetration testers. Every post is a technical writeup from someone who runs engagements for a living, with code, command output, and the reasoning behind each step. Topics include exploit research, vulnerability disclosure, tool development, and the offensive techniques showing up in current client work.

Search The Exploit Blog

Raxis Discovered Vulnerabilities

View the CVEs and bugs that Raxis pentesters have uncovered and submitted.

Work With the Pentesters Who Wrote This Blog

The engineers behind these posts run real engagements every week. Put them on your network, web apps, APIs, or cloud and see what an attacker would find first.

Join Our Newsletter

Name(Required)
Newsletter(Required)
Do you wish to join our newsletter? We send out emails once a month that cover the latest in cybersecurity news. We do not sell your information to other parties.