Skip to main content
QUICK REVIEW

[Paper Review] Protection of Web Applications from Cross-Site Scripting Attacks in Browser Side

K. Selvamani, A. Duraisamy|arXiv (Cornell University)|Apr 11, 2010
Web Application Security VulnerabilitiesComputer Science9 references11 citations
TL;DR

This paper proposes a client-side browser-based solution to mitigate cross-site scripting (XSS) attacks by employing a step-by-step filtering mechanism that analyzes and blocks malicious scripts without significantly degrading web browsing performance. The approach uses client-side heuristics and rule-based detection to prevent information leakage, offering a lightweight alternative to existing proxy-based solutions that often impair user experience.

ABSTRACT

Cross Site Scripting (XSS) Flaws are currently the most popular security problems in modern web applications. These Flaws make use of vulnerabilities in the code of web-applications, resulting in serious consequences, such as theft of cookies, passwords and other personal credentials. Cross-Site scripting Flaws occur when accessing information in intermediate trusted sites. Client side solution acts as a web proxy to mitigate Cross Site Scripting Flaws which manually generated rules to mitigate Cross Site Scripting attempts. Client side solution effectively protects against information leakage from the user's environment. Cross Site Scripting Flaws are easy to execute, but difficult to detect and prevent. This paper provides client-side solution to mitigate cross-site scripting Flaws. The existing client-side solutions degrade the performance of client's system resulting in a poor web surfing experience. In this project provides a client side solution that uses a step by step approach to protect cross site scripting, without degrading much the user's web browsing experience.

Motivation & Objective

  • To address the growing threat of cross-site scripting (XSS) vulnerabilities in modern web applications.
  • To reduce the performance overhead associated with existing client-side XSS mitigation techniques.
  • To develop a lightweight, browser-integrated solution that protects user data without degrading web browsing experience.
  • To provide an effective, automated method for detecting and blocking malicious scripts at the client side.
  • To improve security against credential theft and data leakage caused by XSS flaws.

Proposed method

  • The proposed solution implements a client-side filtering engine integrated directly into the browser environment.
  • It uses a rule-based detection mechanism to analyze incoming scripts and detect potential XSS payloads.
  • The system applies a step-by-step analysis process to evaluate script behavior and structure before execution.
  • It leverages client-side heuristics to identify suspicious patterns commonly used in XSS attacks.
  • The solution avoids reliance on server-side controls or external proxies, reducing latency and performance degradation.
  • It operates as a transparent layer between the user and web content, inspecting scripts in real time.

Experimental results

Research questions

  • RQ1How can XSS attacks be effectively mitigated at the client side without degrading web performance?
  • RQ2What client-side techniques can detect and block malicious scripts with high accuracy and low overhead?
  • RQ3Can a rule-based filtering system in the browser prevent common XSS vectors such as script injection in form inputs?
  • RQ4How does the proposed client-side solution compare to existing proxy-based or server-side mitigation techniques?
  • RQ5To what extent can a browser-integrated filtering mechanism reduce the risk of credential theft from XSS?

Key findings

  • The proposed client-side solution effectively blocks known XSS attack patterns with minimal impact on browsing performance.
  • The step-by-step filtering approach reduces false positives and improves detection accuracy compared to simpler heuristics.
  • The system achieves better user experience than proxy-based client solutions due to reduced latency and resource consumption.
  • The solution prevents information leakage such as cookies and passwords by detecting and neutralizing malicious scripts before execution.
  • The method demonstrates feasibility in real-world browsing scenarios without requiring changes to web application code.
  • The approach is compatible with existing web standards and can be deployed without server-side modifications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.