You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with "renderToString" could encounter malicious input using "\htmlData" that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the "trust" option, or set it to forbid "\htmlData" commands, forbid inputs containing the substring ""\htmlData"" and sanitize HTML output from KaTeX.
CVE-2025-23207 - Medium Severity Vulnerability
Vulnerable Library - katex-0.16.11.tgz
Library home page: https://registry.npmjs.org/katex/-/katex-0.16.11.tgz
Path to dependency file: /ui/package.json
Path to vulnerable library: /ui/package.json
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with "renderToString" could encounter malicious input using "\htmlData" that runs arbitrary JavaScript, or generate invalid HTML. Users are advised to upgrade to KaTeX v0.16.21 to remove this vulnerability. Users unable to upgrade should avoid use of or turn off the "trust" option, or set it to forbid "\htmlData" commands, forbid inputs containing the substring ""\htmlData"" and sanitize HTML output from KaTeX.
Publish Date: 2025-01-17
URL: CVE-2025-23207
CVSS 3 Score Details (6.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-cg87-wmx4-v546
Release Date: 2025-01-17
Fix Resolution: katex - 0.16.21
Step up your Open Source Security Game with Mend here
The text was updated successfully, but these errors were encountered: