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.
Remediation
References
https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1
https://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html
Related Vulnerabilities
CVE-2020-17479 Vulnerability in npm package jpv
CVE-2019-1352 Vulnerability in maven package org.webjars.npm:nodegit
CVE-2022-37616 Vulnerability in maven package org.webjars.npm:xmldom__xmldom
CVE-2022-23302 Vulnerability in maven package log4j:log4j
CVE-2020-13943 Vulnerability in maven package org.apache.tomcat:tomcat-coyote