All vulnerabilities

Web browsers

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…

Severity
Medium 6.1
Published
11 Jun 2018
Last changed
17 Jun 2026
Added to UpHeron
17 Nov 2026
Exploit chance
1.1% in the next 30 daysHigher than 66% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
Mozilla FirefoxWeb browsers · cpe:a:mozilla:firefox
  • Every version up to 56.0.2

About Mozilla Firefox

Release lines

ReleaseLatestSecurity fixes
160160.0Until 24 Nov 2026
159159.0.1Ended 10 Nov 2026
158158.0.1Ended 27 Oct 2026
157157.0.1Ended 13 Oct 2026
156156.0.1Ended 29 Sept 2026
155155.0.1Ended 15 Sept 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-7840
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-7840