Description
Despite normal text rendering as LaTeX expressions, preventing XSS, the library also provides users with commands which may modify HTML, such as the \htmlData
command, and the lack of escaping leads to XSS.
Recommendation
Update the mathlive
package to the latest compatible version. Followings are version details:
- Affected version(s): <= 0.103.0
- Patched version(s): 0.104.0
References
Related Issues
- Prototype Pollution in lodash (GHSA-p6mc-m468-83gw) - CVE-2020-8203
- Cross-site Scripting (XSS) in serialize-javascript - CVE-2024-11831
- QMarkdown Cross-Site Scripting (XSS) vulnerability - CVE-2025-43954
- Atro CSRF Middleware Bypass (security.checkOrigin) - CVE-2024-56140
- Tags:
- npm
- mathlive
Anything's wrong? Let us know Last updated on April 02, 2025