VDB

CVE-2017-7840

CVE-2017-7840 PUBLISHED

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.

PackageEcosystemFixed in
firefoxArch Linux57.0-1
firefoxUbuntu:16.04:LTS57.0+build4-0ubuntu0.16.04.5
firefoxmozilla57, 56.0.2
firefoxUbuntu:14.04:LTS57.0+build4-0ubuntu0.14.04.4
firefoxUbuntu:18.04:LTS57.0.1+build2-0ubuntu1

Affected products

VendorProductVersions
MozillaFirefoxunspecified
MozillaFirefox*
archfirefox0

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

References

  • x_refsource_CONFIRM
  • x_refsource_CONFIRM
  • 101832 vdb-entryx_refsource_BID
  • 1039803 vdb-entryx_refsource_SECTRACK
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›