JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the resulting exported HTML file is later opened in a browser this JavaScript will be executed. This could be used in social engineering and self-cross-site-scripting (self-XSS) attacks if users were convinced to add malicious tags to bookmarks, export them, and then open the resulting file. This vulnerability affects Firefox < 57.
Se puede inyectar código JavaScript en un archivo de marcadores exportado colocando código JavaScript en las etiquetas proporcionadas por el usuario en los marcadores guardados. Si el archivo HTML exportado resultante se abre posteriormente en un navegador, se ejecutará este código JavaScript. Esto podría utilizarse en ataques de ingeniería social y auto-Cross-Site Scripting (self-XSS) si se convenciera a los usuarios de añadir etiquetas maliciosas a los marcadores, exportarlas y, a continuación, abrir el archivo resultante. Esta vulnerabilidad afecta a las versiones anteriores a la 57 de Firefox.