CVE-2017-7840
Reported by mozilla · Published June 11, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| firefox | Arch Linux | 57.0-1 |
| firefox | Ubuntu:16.04:LTS | 57.0+build4-0ubuntu0.16.04.5 |
| firefox | mozilla | 57, 56.0.2 |
| firefox | Ubuntu:14.04:LTS | 57.0+build4-0ubuntu0.14.04.4 |
| firefox | Ubuntu:18.04:LTS | 57.0.1+build2-0ubuntu1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Firefox | unspecified |
| Mozilla | Firefox | * |
| arch | firefox | 0 |
Timeline
- Nov 15, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (3 in total, the first dated here)
- Sep 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7840
vulnetix vdb fixes CVE-2017-7840
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-7840/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart