{"id":"CVE-2018-1999024","aliases":["AZL-41294","DEBIAN-CVE-2018-1999024","EUVD-2018-0212","GHSA-3c48-6pcv-88rm","UBUNTU-CVE-2018-1999024"],"status":"published","title":"Macro in MathJax running untrusted Javascript within a web browser","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","severity":{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01448,"percentile":0.73487,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2018-07-23T16:00:00Z","modified":"2026-11-05T05:40:51Z","fixes":[{"ecosystem":"npm","package":"mathjax","fixed_in":["2.7.4"],"sources":["ghsa","osv"]},{"ecosystem":"Azure Linux:3","package":"numpy","fixed_in":["1.26.3-4"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"mathjax","fixed_in":["2.7.4+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mathjax","fixed_in":["2.7.4+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mathjax","fixed_in":["2.7.4+dfsg-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"numpy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.26.3-4"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4+dfsg-1"}]}]},{"source":"osv","ecosystem":"npm","package":"mathjax","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.4"}]}]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-1","2.3-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-1","2.6.0-1","2.6.1-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mathjax","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2ubuntu1","2.7.2+dfsg-1","2.7.3+dfsg-1"]}],"products":[{"vendor":"mathjax","product":"mathjax"}],"references":[{"url":"https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1999024","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-3c48-6pcv-88rm","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-1999024","tags":["advisory"]},{"url":"https://github.com/mathjax/MathJax","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-1999024","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-1999024","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-1999024","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:00:00Z","modified":"2024-09-16T22:46:40.801Z","updated_at":"2026-11-02T14:35:07.354449Z"}],"euvd":[{"id":"EUVD-2018-0212","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:00:00Z","modified":"2024-09-16T22:46:40Z","updated_at":"2026-11-03T00:54:59.7394Z"}],"ghsa":[{"id":"GHSA-3c48-6pcv-88rm","title":"Macro in MathJax running untrusted Javascript within a web browser","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the `\\unicode{}` macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-27T17:05:27Z","modified":"2023-09-11T16:16:27Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:03.916765Z"}],"nvd":[{"id":"CVE-2018-1999024","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:29:00.32Z","modified":"2026-06-17T01:48:18Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:33.865124Z"}],"osv":[{"id":"AZL-41294","title":"CVE-2018-1999024 affecting package numpy for versions less than 1.26.3-4","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:29:00Z","modified":"2026-11-05T05:40:51Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-05T16:41:19.893001Z"},{"id":"CVE-2018-1999024","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:29:00.32Z","modified":"2026-10-20T10:51:34.671930251Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-1999024","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:29:00.32Z","modified":"2026-10-23T18:03:56.95416233Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"GHSA-3c48-6pcv-88rm","title":"Macro in MathJax running untrusted Javascript within a web browser","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the `\\unicode{}` macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-27T17:05:27Z","modified":"2023-11-08T04:00:09.670565Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"UBUNTU-CVE-2018-1999024","description":"MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \\unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.","status":"published","published":"2018-07-23T16:29:00Z","modified":"2025-10-24T04:47:21Z","cvss":[{"version":"3.0","score":5.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:17.91743Z"}]}}
