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-2022-34298 Vulnerability in maven package org.openidentityplatform.openam:openam-auth-nt
CVE-2021-32696 Vulnerability in npm package striptags
CVE-2023-34614 Vulnerability in maven package cc.plural:jsonij
CVE-2023-52079 Vulnerability in npm package msgpackr
CVE-2021-31405 Vulnerability in maven package com.vaadin:vaadin-text-field-flow