All original content is created in Ukrainian. Not all content has been translated yet. Some posts may only be available in Ukrainian.Learn more

What is Cross-Site Scripting (XSS)?

Table of contentsClick link to navigate to the desired location
This content has been automatically translated from Ukrainian.
Cross-Site Scripting (XSS) is a type of attack on web application security, where an attacker injects JavaScript code into a web page or web application, which is then executed in the user's browser. An XSS attack occurs when a web application does not properly handle input data and allows it to be executed in the context of the user viewing the page. There are three main types of XSS.

Stored XSS

The malicious code is stored on the server and displayed to users who view a specific page.

Reflected XSS 

The malicious code is added to the URL and sent to the server, which outputs it in response. Users are affected when they click on such links.

DOM-based XSS

An attack where the malicious code is executed in the browser itself, usually by modifying the DOM structure of the page using JavaScript.

This post doesn't have any additions from the author yet.

23 Dec 10:34

What is the difference between PUT and PATCH?

meme code
meme code@memecode
23 Dec 11:29

What are cookies?

meme code
meme code@memecode
23 Dec 11:40

What is a session? (Web)

meme code
meme code@memecode
24 Dec 12:08

What is penetration testing?

meme code
meme code@memecode
24 Dec 12:08

What is SQL Injection?

meme code
meme code@memecode
What is DOM?
24 Dec 12:22

What is DOM?

meme code
meme code@memecode
27 Dec 15:08

What is an ERP system?

meme code
meme code@memecode
27 Dec 15:32

What is identification and authentication, and what is the difference?

meme code
meme code@memecode
27 Dec 15:38

What does SIM mean and how does a SIM card work?

meme code
meme code@memecode
27 Dec 15:41

What is e-SIM? Key features and advantages

meme code
meme code@memecode
29 Dec 10:22

What is Automatic Speech Recognition (ASR)?

meme code
meme code@memecode
29 Dec 10:30

What is NLP? What is Natural Language Processing used for?

meme code
meme code@memecode