CAXSS: A Cookie Authentication Scheme Against XSS Attacks for HTTPS

Although cookies introduced as session authentication tokens in Hypertext Transfer Protocol (HTTP) resolve its stateless limitation, their static nature introduces vulnerabilities to cross-site scripting (XSS) attacks. Attackers exploit unfiltered user input to inject malicious scripts into web applications, enabling theft of user cookies for session hijacking. While HTTP Secure (HTTPS) employs Transport Layer Security (TLS) to encrypt communications, it remains susceptible to client-side script injection vulnerabilities that bypass TLS protections. Current cookie session hijacking protections focus on credential security but remain vulnerable to link-layer attacks. To address this challenge, we propose a novel Cookie Authentication Scheme against XSS Attacks (CAXSS) for HTTPS. The CAXSS scheme uses signatures to the messages exchanged by the original HTTPS protocol to achieve mutual identity authentication. Specifically, clients authenticate cookies using digital signatures based on Elliptic Curve Cryptography (ECC), while servers reject unsigned cookies. This approach ensures that only legitimate clients can generate valid cookie credentials, thwarting unauthorized cookie reuse. The results of security analysis and performance evaluations demonstrate that the CAXSS scheme is secure and effective.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2025-12-24
DOI
https://doi.org/10.3390/electronics15010082
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CAXSS: A Cookie Authentication Scheme Against XSS Attacks for HTTPS

Maode Ma, Yingjuan Shi, Hui Wang
Electronics
Web Application Security Vulnerabilities
article

CAXSS: A Cookie Authentication Scheme Against XSS Attacks for HTTPS

Maode Ma, Yingjuan Shi, Hui Wang
article en

Abstract

Although cookies introduced as session authentication tokens in Hypertext Transfer Protocol (HTTP) resolve its stateless limitation, their static nature introduces vulnerabilities to cross-site scripting (XSS) attacks. Attackers exploit unfiltered user input to inject malicious scripts into web applications, enabling theft of user cookies for session hijacking. While HTTP Secure (HTTPS) employs Transport Layer Security (TLS) to encrypt communications, it remains susceptible to client-side script injection vulnerabilities that bypass TLS protections. Current cookie session hijacking protections focus on credential security but remain vulnerable to link-layer attacks. To address this challenge, we propose a novel Cookie Authentication Scheme against XSS Attacks (CAXSS) for HTTPS. The CAXSS scheme uses signatures to the messages exchanged by the original HTTPS protocol to achieve mutual identity authentication. Specifically, clients authenticate cookies using digital signatures based on Elliptic Curve Cryptography (ECC), while servers reject unsigned cookies. This approach ensures that only legitimate clients can generate valid cookie credentials, thwarting unauthorized cookie reuse. The results of security analysis and performance evaluations demonstrate that the CAXSS scheme is secure and effective.

ElectronicsVol. 15(1)
Zhejiang Normal University (CN), Jinhua Academy of Agricultural Sciences (CN), Qatar University (QA)
National Natural Science Foundation of China, Jinhua Science and Technology Bureau
Peace, Justice and strong institutions
Openalex Percentile: Top 24%
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.