Cross-site Scripting (XSS) Affecting langfuse package, versions <3.102.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-LANGFUSE-12155822
  • published23 Aug 2025
  • disclosed19 Aug 2025

Introduced: 19 Aug 2025

CVE-2025-54881  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard langfuse to version 3.102.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream langfuse package and not the langfuse package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

Mermaid is a JavaScript based diagramming and charting tool that uses Markdown-inspired text definitions and a renderer to create and modify complex diagrams. In the default configuration of mermaid 10.9.0-rc.1 to 11.9.0, user supplied input for sequence diagram labels is passed to innerHTML during calculation of element size, causing XSS.