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://blog.bentkowski.info/2018/06/xss-in-google-colaboratory-csp-bypass.html
https://github.com/mathjax/MathJax/commit/a55da396c18cafb767a26aa9ad96f6f4199852f1
Related Vulnerabilities
CVE-2023-37946 Vulnerability in maven package org.openshift.jenkins:openshift-login
CVE-2022-35916 Vulnerability in npm package @openzeppelin/contracts
CVE-2020-11988 Vulnerability in maven package org.apache.xmlgraphics:xmlgraphics-commons
CVE-2017-16183 Vulnerability in npm package iter-server
CVE-2023-40345 Vulnerability in maven package org.jenkins-ci.plugins:delphix