CVE-2017-7840
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | firefox | Fixed | 57.0.1+build2-0ubuntu1 | UBUNTU-CVE-2017-7840 |
| Ubuntu 16.04 | firefox | Fixed | 57.0+build4-0ubuntu0.16.04.5 | UBUNTU-CVE-2017-7840 |
| Ubuntu 14.04 | firefox | Fixed | 57.0+build4-0ubuntu0.14.04.4 | UBUNTU-CVE-2017-7840 |
What the vendor says
As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Mozilla Firefox: affected: unspecified to before 57; fixed in
57
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.