Designing a XSS defensive framework for web servers deployed in the existing smart city infrastructure

Brij B. Gupta*, Pooja Chaudhary, Shashank Gupta

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

98 Downloads (Pure)


Cross-site scripting is one of the notable exceptions effecting almost every web application. Hence, this article proposed a framework to negate the impact of the XSS attack on web servers deployed in one of the major applications of the Internet of Things (IoT) i.e. the smart city environment. The proposed framework implements 2 approaches: first, it executes vulnerable flow tracking for filtering injected malicious scripting code in dynamic web pages. Second, it accomplished trusted remark generation and validation for unveiling any suspicious activity in static web pages. Finally, the filtered and modified webpage is interfaced to the user. The prototype of the framework has been evaluated on a suite of real-world web applications to detect XSS attack mitigation capability. The performance analysis of the framework has revealed that this framework recognizes the XSS worms with very low false positives, false negatives and acceptable performance overhead as compared to existent XSS defensive methodologies.

Original languageEnglish
Pages (from-to)85-111
Number of pages27
JournalJournal of Organizational and End User Computing
Issue number4
Publication statusPublished - 2020

Bibliographical note

Version archived for private and non-commercial use with the permission of the author/s and according to publisher conditions. For further rights please contact the publisher.


  • Smart City Cyber Security
  • Trusted Remark Statement Injection
  • Untrusted Javascript Code
  • XSS Attack


Dive into the research topics of 'Designing a XSS defensive framework for web servers deployed in the existing smart city infrastructure'. Together they form a unique fingerprint.

Cite this