Skip to content

LocalStorage Taint Arguments not Provided #59

@tmbrbr

Description

@tmbrbr

The normal way to access localstorage objects is via getters and setters:

localStorage.setItem('myCat', 'Tom');

and

const cat = localStorage.getItem('myCat');

But as described here, it is also possible via properties and array like access:

localStorage.colorSetting = '#a4509b';
localStorage['colorSetting'] = '#a4509b';
localStorage.setItem('colorSetting', '#a4509b');

In foxhound, the correct function argument is not always reported when using the direct properties access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions