---
title: "Discussion on \"What is XSS (Cross-Site Scripting)?\" | Hashnode"
description: "Discussion on \"What is XSS (Cross-Site Scripting)?\". How a website accidentally runs someone else’s code"
url: "https://hashnode.com/posts/what-is-xss-cross-site-scripting/6a365a8b83a40a289b43236e"
---

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

Discussion

# [What is XSS (Cross-Site Scripting)?](https://code-as-a-story.hashnode.dev/what-is-xss-cross-site-scripting?utm_source=hashnode&utm_medium=feed)

How a website accidentally runs someone else’s code

Jun 20 · 6 min read · code-as-a-story.hashnode.dev  
Read the article

-   [#xss](https://hashnode.com/tag/xss)
-   [#xss-attacks](https://hashnode.com/tag/xss-attacks)
-   [#cross-site-scripting](https://hashnode.com/tag/cross-site-scripting)
-   [#cross-site-scripting-xss](https://hashnode.com/tag/cross-site-scripting-xss)
-   [#web-security](https://hashnode.com/tag/web-security)
-   [#front-end-security](https://hashnode.com/tag/front-end-security)
-   [#browser-internals](https://hashnode.com/tag/browser-internals)
-   [#javascript-security](https://hashnode.com/tag/javascript-security)
-   [#cybersecuritybasics](https://hashnode.com/tag/cybersecuritybasics)
-   [#owasp](https://hashnode.com/tag/owasp)
-   [#secure-coding](https://hashnode.com/tag/secure-coding)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Sreeram K S](https://hashnode.com/@sreeram-ks)

@sreeram-ks · Chennai, India

  
[View profile](https://hashnode.com/@sreeram-ks)

Java Full Stack Engineer | Breaking them down into simple ideas | Writing what I wish I knew earlier

Senior Software Engineer with 7+ years in Java, Spring Boot, and scalable backend systems. I help engineers crack backend/full-stack interviews, improve system design, and transition into cloud and AI with practical, real-world guidance.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
