---
title: "Discussion on \"XSS Demystified: Understanding and Preventing Cross-Site Scripting\" | Hashnode"
description: "Discussion on \"XSS Demystified: Understanding and Preventing Cross-Site Scripting\". It allows an attacker to execute a malicious arbitrary Javascript code within the web browser of victim user. This gives the attacker’s script privileged access to make requests to the server (such as same-origin cookies and storage permissions) and ..."
url: "https://hashnode.com/posts/xss/657fea84b64c19611c2e7f05"
---

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

Discussion

# [XSS Demystified: Understanding and Preventing Cross-Site Scripting](https://surabhisuman.in/xss?utm_source=hashnode&utm_medium=feed)

It allows an attacker to execute a malicious arbitrary Javascript code within the web browser of victim user. This gives the attacker’s script privileged access to make requests to the server (such as same-origin cookies and storage permissions) and ...

Dec 18, 2023 · 2 min read · surabhisuman.in  
Read the article

-   [#xss](https://hashnode.com/tag/xss)
-   [#websecurity](https://hashnode.com/tag/websecurity)

## Written by

[Surabhi Suman](https://hashnode.com/@surabhisuman)

@surabhisuman

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

Hey! I am a software engineer by profession. Passionate about Ruby, Database internals, optimization, distributed systems

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
