I am sure everyone has heard of this huge issue within the industry. But, I was surprised that the demo program was five lines of JS code. Surprised it can be done in JS in the first place and, second, the malicious code is so short.
Fuller code here:
Amazing. I’m sure there will be updates to install over the next few days!
Could the malicious JS code be mirrored via NS Basic? .
To affect your code, someone would have to find a way to inject it. Modern browsers have pretty good protection against that. (Remember Same Origin Policy? https://en.wikipedia.org/wiki/Same-origin_policy)
You could use it in your own code, however.
Here’s a great article about how it works and what they are doing to fix it. Both Chrome and Safari are based on WebKit.