Can webworker have its storage not accessible by a window? Maybe http-only cookie is readable by webworker? As I know XSS cannot escalate to webworker process.

Reply to this note

Please Login to reply.

Discussion

Webworker afaik cannot access cookies at all. Even if it did, it wouldn't have access to secure (http-only) cookies.

It does have access to IndexedDB, but so does the potential attacker. I am not aware of any place that the webworker would have access to and the attacker would not.