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-2023-33695 Vulnerability in maven package cn.hutool:hutool-core
CVE-2023-40815 Vulnerability in maven package org.opencrx:opencrx-core-models
CVE-2016-5019 Vulnerability in maven package org.apache.myfaces.trinidad:trinidad-impl
CVE-2017-18214 Vulnerability in maven package org.webjars.npm:moment
CVE-2021-28092 Vulnerability in maven package org.webjars.npm:is-svg