Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2025-23207 (Medium) detected in katex-0.16.11.tgz #228

Open
mend-bolt-for-github bot opened this issue Jan 19, 2025 · 0 comments
Open

CVE-2025-23207 (Medium) detected in katex-0.16.11.tgz #228

mend-bolt-for-github bot opened this issue Jan 19, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

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:

  • @postgres.ai/platform-1.0.0.tgz (Root Library)
    • mermaid-11.0.2.tgz
      • katex-0.16.11.tgz (Vulnerable Library)

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:

  • 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: 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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Development

No branches or pull requests

0 participants