CISPA
Browse

MatriXSSed: A New Taxonomy for XSS in the Modern Web

Download (725.53 kB)
conference contribution
posted on 2025-05-08, 08:16 authored by Dolière Francis SoméDolière Francis Somé
Cross-site scripting (XSS) constantly remains one of the most prevalent attacks on the Web. In this work, we question its current taxonomy, i.e., the client- or server-side reflected (non-persistent) or stored (persistent) matrix. The Web has extensively changed. Consequently, considering XSS with the lenses of this famous matrix has become at least imprecise, at most impossible for many code injection scenarios where (i) a service worker or an edge worker generates HTTP responses and can reflect or persist XSS payloads infecting not only JavaScript in web pages but also Web assembly, web workers and affecting one or many users automatically; (ii) an attacker sends a web push message directly to a browser push service to trigger code execution in a dormant service worker; or (iii) a cross-origin adversary tampers with code stored by a vulnerable website on the user’s physical/permanent file system, etc. Our proposal–to get out of the matrix and not enter another rigid oneexpresses the essence of XSS as code infection and affection attack, and allows for clearly specifying the different actors and components involved, their environments, contexts and storages, as well as their recurrence and persistence seen as a continuum rather than a binary marker. From a defensive perspective, we showcase the challenges and limitations of current mechanisms at mitigating XSS targetting the entire attack surface of modern websites. Finally, we demonstrate an abuse of the Service-Worker-Allowed (SWA) header to control entire domains with malicious service workers.

History

Editor

Long G ; Blumestein M ; Chang Y ; Lewin-Eytan L ; Huang ZH ; Yom-Tov E

Name of Conference

The Web Conference (WWW)

CISPA Affiliation

  • Yes

Journal

WWW

Page Range

4662-4672

Publisher

Association for Computing Machinery (ACM)

Open Access Type

  • Not Open Access

BibTeX

@conference{Somé:2025, title = "MatriXSSed: A New Taxonomy for XSS in the Modern Web", author = "Somé, Dolière Francis", editor = "Long, Guodong" AND "Blumestein, Michale" AND "Chang, Yi" AND "Lewin-Eytan, Liane" AND "Huang, Zi Helen" AND "Yom-Tov, Elad", year = 2025, month = 4, journal = "WWW", pages = "4662--4672", publisher = "Association for Computing Machinery (ACM)", doi = "10.1145/3696410.3714774" }

Usage metrics

    Categories

    No categories selected

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC