Understanding Cross-Site Scripting (XSS): Types, Impact, and Prevention Strategies

  • Unique Paper ID: 171192
  • PageNo: 3450-3455
  • Abstract:
  • Cross-Site Scripting is a prevalent web application vulnerability that allows attackers to inject harmful scripts into the pages accessed by other users. These scripts can be executed within the browser context of the targeted user, compromising sensitive data such as login information, session cookies, or private information. There are three types of XSS attacks: stored, reflected, and DOM-based attacks. While modern security frameworks and protocols have enhanced the security of web applications, XSS continues to be a major threat because input validation is not properly performed or sanitization of content originating from users is insufficient. This study explored the mechanics behind XSS attacks, how XSS attacks affect web applications, approaches for prevention, and practical case studies of high-profile incidents.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{171192,
        author = {S.Manoj kumar and S.Swathy and G.Monash and R.Loganathan},
        title = {Understanding Cross-Site Scripting (XSS): Types,  Impact, and Prevention Strategies},
        journal = {International Journal of Innovative Research in Technology},
        year = {2024},
        volume = {11},
        number = {7},
        pages = {3450-3455},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=171192},
        abstract = {Cross-Site Scripting is a prevalent web application vulnerability that allows attackers to inject harmful scripts into the pages accessed by other users. These scripts can be executed within the browser context of the targeted user, compromising sensitive data such as login information, session cookies, or private information. There are three types of XSS attacks: stored, reflected, and DOM-based attacks. While modern security frameworks and protocols have enhanced the security of web applications, XSS continues to be a major threat because input validation is not properly performed or sanitization of content originating from users is insufficient. This study explored the mechanics behind XSS attacks, how XSS attacks affect web applications, approaches for prevention, and practical case studies of high-profile incidents.},
        keywords = {},
        month = {December},
        }

Cite This Article

kumar, S., & S.Swathy, , & G.Monash, , & R.Loganathan, (2024). Understanding Cross-Site Scripting (XSS): Types, Impact, and Prevention Strategies. International Journal of Innovative Research in Technology (IJIRT), 11(7), 3450–3455.

Related Articles