Skip to content
OpenAdvisories
Unscored CVE-2018-5143 EUVD-2018-16929GHSA-qqw6-4m7h-4hwr

URLs using "javascript:" have the protocol removed when pasted into the addressbar to protect users from cross-site scripting (XSS) attacks…

Published Jun 11, 2018 · Updated Aug 5, 2024 · Assigned by mozilla

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.

Affected products

VendorProductAffectedFixed
Mozilla Firefox unspecified – < 59 59

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS firefox 59.0.1+build1-0ubuntu1 —
Ubuntu 16.04 LTS firefox 59.0+build5-0ubuntu0.16.04.1 USN-3596-1
Ubuntu 14.04 LTS firefox 59.0+build5-0ubuntu0.14.04.1 USN-3596-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaFirefox 92.0-1.2 openSUSE-SU-2024:10600-1
openSUSE Tumbleweed firefox-esr 128.5.1-1.1 openSUSE-SU-2024:14572-1

Advisories 3

References