---
title: "Discussion on \"Cross-Site Scripting (XSS) | Hack The Box Academy\" | Hashnode"
description: "Discussion on \"Cross-Site Scripting (XSS) | Hack The Box Academy\". Interactive Sessions & Skill Assessment\n\nSection 2/10\nTo get the flag, use the same payload we used above, but change its JavaScript code to show the cookie instead of showing the url.\n\nNote: After ty"
url: "https://hashnode.com/posts/cross-site-scripting-xss-hack-the-box-academy/6ab68e039ba73d2f87181b31"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cross-Site Scripting (XSS) | Hack The Box Academy](https://ashleyjovanska.hashnode.dev/cross-site-scripting-xss-hack-the-box-academy?utm_source=hashnode&utm_medium=feed)

Interactive Sessions & Skill Assessment Section 2/10 To get the flag, use the same payload we used above, but change its JavaScript code to show the cookie instead of showing the url. Note: After ty

Sep 25 · 6 min read · ashleyjovanska.hashnode.dev  
Read the article

## Written by

[Ashley Jovanska](https://hashnode.com/@ashleyjovanska)

@ashleyjovanska · Germany

  
[View profile](https://hashnode.com/@ashleyjovanska)

Pentester | Bug Bounty Hunter

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
