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-2021-3189 Vulnerability in npm package slashify
CVE-2022-36157 Vulnerability in maven package com.xuxueli:xxl-job
CVE-2023-3635 Vulnerability in maven package com.squareup.okio:okio-jvm
CVE-2020-7645 Vulnerability in npm package chrome-launcher
CVE-2020-10650 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind