CVE-2018-5143 json
URLs using "javascript:" have the protocol removed when pasted into the addressbar to protect users from cross-site scripting (XSS) attacks…
published 8y ago modified 4mo ago also EUVD-2018-16929
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Mozilla Firefox 59
- firefox Ubuntu 14.04 LTS 59.0+build5-0ubuntu0.14.04.1
- firefox Ubuntu 16.04 LTS 59.0+build5-0ubuntu0.16.04.1
- firefox Ubuntu 18.04 LTS 59.0.1+build1-0ubuntu1
ubuntu advisories UBUNTU-CVE-2018-5143
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- firefox-esr openSUSE Tumbleweed 128.5.1-1.1
- MozillaFirefox openSUSE Tumbleweed 92.0-1.2
opensuse advisories openSUSE-SU-2024:14572-1openSUSE-SU-2024:10600-1
Is CVE-2018-5143 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected products
- Mozilla Firefox
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
usn.ubuntu.com
/3596-1/
vendor-advisory, third-party-advisory
-
bugzilla.mozilla.org
/show_bug.cgi?id=1422643
issue-tracking, vendor-advisory
-
mozilla.org
/security/advisories/mfsa2018-06/
vendor-advisory
-
securityfocus.com
/bid/103386
vdb-entry, third-party-advisory
-
securitytracker.com
/id/1040514
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-5143
- NVD CVE-2018-5143
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.