{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-5143","id":"CVE-2018-5143","title":"URLs using \"javascript:\" have the protocol removed when pasted into the addressbar to protect users from cross-site s…","description":"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.","descriptionLong":"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.","published":"2018-06-11T21:00:00.000Z","updated":"2026-06-17T01:59:42.103Z","reserved":"2018-01-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mozilla","metric":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Mozilla Firefox"],"affectedProducts":[{"vendor":"Mozilla","product":"Firefox","defaultStatus":null,"versions":[{"lessThan":"59","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1422643","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/103386","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1040514","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://usn.ubuntu.com/3596-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2018-06/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00919,"epssPercentile":0.60939,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-5143","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5143","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-5143","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-5143","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["firefox"],"critical":[],"attention":null}