What’s Vulnerable › Vulnerabilities
CVE-2018-5176
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-06-11 · updated 2026-06-17
- Weakness: CWE-20
Description
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.
Affected products
- Canonical Ubuntu Linux: 14.04, 16.04, 17.10, 18.04
- Mozilla Firefox: before 60.0 — fixed in 60.0
How to fix
Upgrade to a fixed version: Mozilla Firefox 60.0. Check the vendor advisory for mitigations.
References
- http://www.securityfocus.com/bid/104139
- http://www.securitytracker.com/id/1040896
- https://bugzilla.mozilla.org/show_bug.cgi?id=1442840
- https://usn.ubuntu.com/3645-1/
- https://www.mozilla.org/security/advisories/mfsa2018-11/
- http://www.securityfocus.com/bid/104139
- http://www.securitytracker.com/id/1040896
- https://bugzilla.mozilla.org/show_bug.cgi?id=1442840
- https://usn.ubuntu.com/3645-1/
- https://www.mozilla.org/security/advisories/mfsa2018-11/
Get alerted when CVE-2018-5176 or the next vulnerability affects your stack