# CVE-2018-5176: firefox: The JSON Viewer displays clickable hyperlinks for strings that are parseable as URLs, including "javascript:" links

CVE-2018-5176 is fixed in 4 products on 1 platform, first by firefox 60.0+build2-0ubuntu1, released May 10, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-5176
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0142
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 10, 2018

## 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 &lt; 60.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | firefox Ubuntu 18.04.6 LTS (bionic) | 60.0+build2-0ubuntu1 | [firefox 60.0+build2-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-60.0-build2-0ubuntu1.md) | May 10, 2018 |
| Linux | firefox-globalmenu Ubuntu 18.04.6 LTS (bionic) | 60.0+build2-0ubuntu1 | [firefox-globalmenu 60.0+build2-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-globalmenu-60.0-build2-0ubuntu1.md) | May 10, 2018 |
| Linux | firefox-mozsymbols Ubuntu 18.04.6 LTS (bionic) | 60.0+build2-0ubuntu1 | [firefox-mozsymbols 60.0+build2-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-mozsymbols-60.0-build2-0ubuntu1.md) | May 10, 2018 |
| Linux | firefox-testsuite Ubuntu 18.04.6 LTS (bionic) | 60.0+build2-0ubuntu1 | [firefox-testsuite 60.0+build2-0ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-firefox-testsuite-60.0-build2-0ubuntu1.md) | May 10, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
