CVE-2018-5176: Input Validation

Published May 9, 2018
·
Updated

Last updated 25 August 2025

Other sources

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.

Launchpad

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.

Affected Software

7 affected componentsFixes available
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=17.10
Canonical Ubuntu Linux=18.04
Mozilla Firefox<60.0
Mozilla Firefox<60
60
debian/firefox
148.0-1

Event History

May 9, 2018
CVE Published
12:00 AM
Jun 11, 2018
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
via NVD·09:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:06 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·12:49 AM
RemedyDescriptionSeverityAffected Software
Feb 27, 2026
Data Sourced
via Debian·12:55 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-5176?

CVE-2018-5176 is a vulnerability in the JSON Viewer of Mozilla Firefox that allows for the execution of malicious JavaScript code through clickable hyperlinks.

2

How does CVE-2018-5176 work?

CVE-2018-5176 works by displaying clickable hyperlinks for URLs in a JSON file, including 'javascript:' links, which can trick users into executing malicious code.

3

Which software is affected by CVE-2018-5176?

Mozilla Firefox versions up to and exclusive of 60.0, as well as Ubuntu with Firefox versions up to and exclusive of 60.0, are affected by CVE-2018-5176.

4

What is the severity of CVE-2018-5176?

CVE-2018-5176 has a severity value of 6.1, indicating a medium severity level.

5

How can I fix CVE-2018-5176?

To fix CVE-2018-5176, update your Mozilla Firefox or Ubuntu with Firefox to a version higher than 60.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203