XSS Attacks Types on Web

Know how each Cross-Site Scripting Attack behaves is crucial to start to think about how vulnerabilities in our web apps allow malicious codes to be executed using the browser to take sensible data from users.

That’s what this article is about.

?…


This content originally appeared on DEV Community and was authored by Beto Muniz

Know how each Cross-Site Scripting Attack behaves is crucial to start to think about how vulnerabilities in our web apps allow malicious codes to be executed using the browser to take sensible data from users.

That's what this article is about.

? Reflected XSS

? This attack XSS use URL parameters or data submitted via POST in forms to inject malicious code on that server request that persists some data for later execution in the browser. Third-party Browser extensions could even be an access point to inject such a malicious code.

? Stored XSS

? This attack XSS happens when malicious code is persisted by the attacker directly in the server-side of the web app and is executed by the user (victim) when she accesses the infected application.

? DOM XSS

? This attack XSS happens when the application manipulates the DOM incorrectly, opening breaches to malicious scripts sent by URL parameters to inject malicious code.

? The question is... How to defend against attacks XSS?

? There's no formula - A system security is always dependent on that system context, keep this in mind, but there are practices against well-known XSS attacks to stay updated about XSS attacks.

? Start reading about Content Security Policy, Mozilla Observatory, OWASP recommendations, and signing up my newsletter. As a web security lover, I always talk about it.


This content originally appeared on DEV Community and was authored by Beto Muniz


Print Share Comment Cite Upload Translate Updates
APA

Beto Muniz | Sciencx (2021-05-10T21:03:19+00:00) XSS Attacks Types on Web. Retrieved from https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/

MLA
" » XSS Attacks Types on Web." Beto Muniz | Sciencx - Monday May 10, 2021, https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/
HARVARD
Beto Muniz | Sciencx Monday May 10, 2021 » XSS Attacks Types on Web., viewed ,<https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/>
VANCOUVER
Beto Muniz | Sciencx - » XSS Attacks Types on Web. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/
CHICAGO
" » XSS Attacks Types on Web." Beto Muniz | Sciencx - Accessed . https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/
IEEE
" » XSS Attacks Types on Web." Beto Muniz | Sciencx [Online]. Available: https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/. [Accessed: ]
rf:citation
» XSS Attacks Types on Web | Beto Muniz | Sciencx | https://www.scien.cx/2021/05/10/xss-attacks-types-on-web/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.