{"cve":"CVE-2018-1999024","nvd":{"published":"2018-07-23T16:29:00.320","modified":"2026-06-17T01:48:18.000","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html","https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1","https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html","https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1"],"products":["mathjax:mathjax"],"source":"nvd","synced_at":"2026-10-19T20:52:03.425131697+00:00"},"epss":{"cve":"CVE-2018-1999024","score":0.01448,"percentile":0.73335,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3c48-6pcv-88rm","url":"https://osv.dev/vulnerability/GHSA-3c48-6pcv-88rm","summary":"Macro in MathJax running untrusted Javascript within a web browser","modified":"2023-11-08T04:00:09.670565Z","packages":[{"ecosystem":"npm","name":"mathjax","purl":"pkg:npm/mathjax","ranges":["<2.7.4"],"fixed":["2.7.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}