{"id":"CVE-2017-7840","state":"PUBLISHED","title":"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 opene","description":"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.","publishedAt":"2018-06-11T21:00:00.000Z","updatedAt":"2024-08-05T16:19:28.484Z","severity":null,"assigner":"mozilla","products":["Mozilla Firefox"],"affected":[{"vendor":"Mozilla","product":"Firefox","versions":[{"version":"unspecified","status":"affected","lessThan":"57","versionType":"custom"}]}],"references":["https://bugzilla.mozilla.org/show_bug.cgi?id=1366420","https://www.mozilla.org/security/advisories/mfsa2017-24/","http://www.securityfocus.com/bid/101832","http://www.securitytracker.com/id/1039803"],"weaknesses":[],"ingestedAt":"2026-10-29T19:43:54.997Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/7xxx/CVE-2017-7840.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-7840","state":"PUBLISHED","datePublished":"2018-06-11T21:00:00.000Z","dateUpdated":"2024-08-05T16:19:28.484Z","assignerShortName":"mozilla","assignerOrgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe","dateReserved":"2017-04-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Mozilla","product":"Firefox","versions":[{"version":"unspecified","status":"affected","lessThan":"57","versionType":"custom"}]}],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1366420","tags":["x_refsource_CONFIRM"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2017-24/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/101832","name":"101832","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securitytracker.com/id/1039803","name":"1039803","tags":["vdb-entry","x_refsource_SECTRACK"]}],"problemTypes":[{"descriptions":[{"description":"Exported bookmarks do not strip script elements from user-supplied tags","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mozilla","dateUpdated":"2018-06-12T09:57:01.000Z","orgId":"f16b083a-5664-49f3-a51e-8d479e5ed7fe"},"datePublic":"2017-11-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@mozilla.org","ID":"CVE-2017-7840","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Firefox","version":{"version_data":[{"version_affected":"<","version_value":"57"}]}}]},"vendor_name":"Mozilla"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Exported bookmarks do not strip script elements from user-supplied tags"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.mozilla.org/show_bug.cgi?id=1366420","refsource":"CONFIRM","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1366420"},{"name":"https://www.mozilla.org/security/advisories/mfsa2017-24/","refsource":"CONFIRM","url":"https://www.mozilla.org/security/advisories/mfsa2017-24/"},{"name":"101832","refsource":"BID","url":"http://www.securityfocus.com/bid/101832"},{"name":"1039803","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1039803"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1366420","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2017-24/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/101832","name":"101832","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securitytracker.com/id/1039803","name":"1039803","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T16:19:28.484Z"}}]}}}