KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
CVE-2024-28245 - Medium Severity Vulnerability
Vulnerable Library - katex-0.16.8.tgz
Library home page: https://registry.npmjs.org/katex/-/katex-0.16.8.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy: - rehype-katex-6.0.3.tgz (Root Library) - :x: **katex-0.16.8.tgz** (Vulnerable Library)
Found in HEAD commit: 50f91e8f19edfee259e1f0672ab3b00104b33d47
Found in base branch: master
Vulnerability Details
KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this vulnerability.
Publish Date: 2024-03-25
URL: CVE-2024-28245
CVSS 3 Score Details (6.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/KaTeX/KaTeX/security/advisories/GHSA-f98w-7cxr-ff2h
Release Date: 2024-03-25
Fix Resolution: katex - 0.16.9
Step up your Open Source Security Game with Mend here