All vulnerabilities

Web browsers

CVE-2018-5143

URLs using "javascript:" have the protocol removed when pasted into the addressbar to protect users from cross-site scripting (XSS) attacks, but if a tab character is embedded in the "javascript:" URL the protocol is not removed and the script will execute. This could allow users to be socially engineered to run an XSS attack against themselves. This vulnerability affects Firefox < 59.

Severity
Medium 6.1
Published
11 Jun 2018
Last changed
17 Jun 2026
Added to UpHeron
17 Nov 2026
Fixed in
59.0
Exploit chance
0.9% in the next 30 daysHigher than 60% 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

Affected software

SoftwareAffected versions
Mozilla FirefoxWeb browsers · cpe:a:mozilla:firefox
  • Every version before 59.0

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-2018-5143
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2018-5143