Skip to content

[HIGH] [Security] Insecure Storage of Encryption Keys in localStorage #173

@bigtcze

Description

@bigtcze

Severity: High
Description: The application stores the Master Key and Private Key in localStorage (noteer-encryption-keys). This allows any XSS vulnerability to result in total compromise of the user's encrypted data. The code comments incorrectly state that sessionStorage is used.
Complexity: 3
Permalink: https://github.com/bigtcze/noteer/blob/main/frontend/src/stores/encryptionStore.js#L47

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions