Mozilla before 1.4.2 executes Javascript events in the context of a new page while it is being loaded allowing it to interact with the previous page (zombie document) and enable cross-domain and cross-site scripting (XSS) attacks as demonstrated using onmousemove events.