CVE-2018-5176 json
The JSON Viewer displays clickable hyperlinks for strings that are parseable as URLs, including "javascript:" links.
published 8y ago modified 4mo ago also EUVD-2018-16961
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
The JSON Viewer displays clickable hyperlinks for strings that are parseable as URLs, including "javascript:" links. If a JSON file contains malicious JavaScript script embedded as "javascript:" links, users may be tricked into clicking and running this code in the context of the JSON Viewer. This can allow for the theft of cookies and authorization tokens which are accessible to that context. This vulnerability affects Firefox < 60.
Patch / fix
- Mozilla Firefox 60
- firefox Ubuntu 14.04 LTS 60.0+build2-0ubuntu0.14.04.1
- firefox Ubuntu 16.04 LTS 60.0+build2-0ubuntu0.16.04.1
- firefox Ubuntu 18.04 LTS 60.0+build2-0ubuntu1
ubuntu advisories UBUNTU-CVE-2018-5176
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
- MozillaFirefox SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +17 more 68.2.0-109.95.2
suse advisories SUSE-SU-2019:2872-1
- 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
- firefox Arch Linux 60.0-1
arch linux advisories AVG-693
Is CVE-2018-5176 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 FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5176 updated cvss 6.1
Mozilla: JSON Viewer script injection
-
Red Hat Enterprise Linux 6 firefox, thunderbird Red Hat Enterprise Linux 7 firefox, thunderbirdnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.42% chance of exploitation in the next 30 days, higher than 72% 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-20 Improper Input Validation
References
-
usn.ubuntu.com
/3645-1/
vendor-advisory, third-party-advisory
-
mozilla.org
/security/advisories/mfsa2018-11/
vendor-advisory
-
bugzilla.mozilla.org
/show_bug.cgi?id=1442840
issue-tracking, permissions-required, vendor-advisory
-
securitytracker.com
/id/1040896
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/104139
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2018-5176
- NVD CVE-2018-5176
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.