{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2018-5143","published":"2018-06-11T21:29:14.657000Z","last_modified":"2026-06-17T01:59:42.103000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:mozilla:firefox:*:*:*:*:*:*:*:*","part":"a","vendor":"mozilla","product":"firefox","version_end_excluding":"59.0"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"16.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"17.10"}],"cpes_truncated":false,"vendors":["mozilla","canonical"],"products":["mozilla/firefox","canonical/ubuntu_linux"],"epss":{"score":0.00901,"percentile":0.5776,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"browser","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2018-5143/","html_en":"/en/cve/CVE-2018-5143/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5143","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-5143"},"untrusted":{"vendor_name":"Mozilla","product_name":"Firefox","desc_en":"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.","affected":[{"untrusted_vendor":"Mozilla","untrusted_product":"Firefox","versions":[]}],"references":[{"url":"http://www.securityfocus.com/bid/103386","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040514","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1422643","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/3596-1/","tags":["Third Party Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2018-06/","tags":["Vendor Advisory"]}]}}