Use of Session storage and Local storage

Overview

Data placed in the localStorage persists after a session is closed, and thus, any actor with access to the browser will be able to obtain it. Furthermore, data in the localStorage or in the sessionStorage is visible to scripts that are running on the browser, and these scripts could belong to malicious third parties. Therefore, no sensitive or session information should be stored in the client-side storage.

Business Impact

Increased risk of data breaches, financial loss, and reputational harm. Eroding customer trust and confidence.

Resources

Common

Incidence

How common is this issue?
8%4%
arrow down4%
lower

Exposure

How long do organizations remain exposed before fixing the problem?
1 year2 months
arrow down84%
shorter
BenchmarkWith Clayton

Frameworks

TrustediconSecureiconSession SecurityiconSession ManagementiconA02:2021 – Cryptographic Failuresicon