CVE-2018-5143

MEDIUM

Firefox < 59.0 - Cross-Site Scripting via Tab Character in javascript: URL

Title source: llm
STIX 2.1

Description

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.

References (5)

Core 5
Core References
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugzilla.mozilla.org/show_bug.cgi?id=1422643
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/103386
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1040514
Third Party Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/3596-1/
Vendor Advisory x_refsource_confirm
https://www.mozilla.org/security/advisories/mfsa2018-06/

Scores

CVSS v3 6.1
EPSS 0.0047
EPSS Percentile 64.7%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (4)
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 17.10
mozilla/firefox < 59.0
Published Jun 11, 2018
Tracked Since Feb 18, 2026