Following up on my disaster. I'm looking at my content scripts and popup code. I use innerHTML in a few places to dynamically display user data. It was just easier at the time.
What if a user had malicious data in their profile that, when my extension rendered it, executed a script in the extension's context? Would that give them access to my extension's privileged APIs and storage? I feel so stupid for not using textContent everywhere. Is this a common attack vector for extensions?
NB: I have been putting off securing my existing products. I have been too busy marketing and developing new ones.
Just one more thing to worry about i guess :(