CVE-2018-5143

published 11 Jun 2018 · updated 5 Aug 2024

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

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 59.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<5959

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-5143 severity on Zeptric[![CVE-2018-5143](https://zeptric.io/badge/cve/CVE-2018-5143.svg)](https://zeptric.io/cve/CVE-2018-5143)