← homeProgramming (Програмування)

What is Cross-Site Scripting (XSS)?

What is Cross-Site Scripting (XSS)? Main types of XSS attacks.

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.

🔥 More posts

All posts
Programming (Програмування)Dec 23, '23 11:29

What are cookies?

What are cookies? What are cookies used for?

Programming (Програмування)Dec 23, '23 11:40

What is a session? (Web)

What is a session? What is it for and how does it work?

Programming (Програмування)Dec 24, '23 12:08

What is penetration testing?

What is penetration testing? Why is it necessary to conduct a penetration test?

Programming (Програмування)Dec 24, '23 12:08

What is SQL Injection?

What is SQL Injection? How does it work and what are the consequences of this attack?

What is DOM?
Programming (Програмування)Dec 24, '23 12:22

What is DOM?

What is the DOM? What are the main concepts of the DOM?

Programming (Програмування)Dec 27, '23 15:08

What is an ERP system?

What is an ERP system? What is an ERP system needed for?