Skip to content
OpenAdvisories
Unscored CVE-2017-7840 EUVD-2017-16815GHSA-gx4h-qpc9-477w

JavaScript can be injected into an exported bookmarks file by placing JavaScript code into user-supplied tags in saved bookmarks. If the re…

Published Jun 11, 2018 · Updated Aug 5, 2024 · Assigned by mozilla

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.

Affected products

VendorProductAffectedFixed
Mozilla Firefox unspecified – < 57 57

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS firefox 57.0.1+build2-0ubuntu1 —
Ubuntu 16.04 LTS firefox 57.0+build4-0ubuntu0.16.04.5 USN-3477-1
Ubuntu 14.04 LTS firefox 57.0+build4-0ubuntu0.14.04.4 USN-3477-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaFirefox 92.0-1.2 openSUSE-SU-2024:10600-1
openSUSE Tumbleweed firefox-esr 128.5.1-1.1 openSUSE-SU-2024:14572-1

Advisories 3

References