The latest tagged release. There are no long-lived release branches, so a fix ships in the next tag rather than being backported.
Use GitHub's private vulnerability reporting on this repository (Security → Report a vulnerability). It stays private until a fix ships.
Please do not open a public issue for a suspected vulnerability first.
readStoredanduseStoredStateparse whateverlocalStorageholds for a key. A crafted value must reach the caller only if it passes the caller'svalidguard, and must never throw.
- The keys and the values an application chooses to store, and what
validaccepts. - Storage another script on the same origin rewrites:
localStorageis not a trust boundary.