{"id":"UBUNTU-CVE-2018-1999024","details":"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.","modified":"2025-10-24T04:47:21Z","published":"2018-07-23T16:29:00Z","upstream":["CVE-2018-1999024"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1999024"},{"type":"REPORT","url":"https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html"},{"type":"REPORT","url":"https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1999024"}],"affected":[{"package":{"name":"mathjax","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.3-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-1","2.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.3-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.3-1"},{"binary_name":"libjs-mathjax","binary_version":"2.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999024.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.6.1-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-1","2.6.0-1","2.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.6.1-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.6.1-1"},{"binary_name":"libjs-mathjax","binary_version":"2.6.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999024.json"}},{"package":{"name":"mathjax","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mathjax@2.7.3+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2ubuntu1","2.7.2+dfsg-1","2.7.3+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"fonts-mathjax","binary_version":"2.7.3+dfsg-1"},{"binary_name":"fonts-mathjax-extras","binary_version":"2.7.3+dfsg-1"},{"binary_name":"libjs-mathjax","binary_version":"2.7.3+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999024.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}