Arbitrary Code Injection Affecting logto-1.39 package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (19th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-MINIMOSLATEST-LOGTO139-17248083
  • published9 Jun 2026
  • disclosed29 May 2026

Introduced: 29 May 2026

NewCVE-2026-41159  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Minimos:latest logto-1.39.

NVD Description

Note: Versions mentioned in the description apply only to the upstream logto-1.39 package and not the logto-1.39 package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, Mermaid's default configuration allows injecting CSS that applies outside of the Mermaid diagram via the fontFamily, themeCSS, and altFontFamily configuration options. The injected CSS exploits stylis's & (scope reference) handling. :not(&) escapes the #mermaid-xxx automatic scoping, applying styles to all page elements. Global at-rules (@font-face, @keyframes, @counter-style) are also injectable as stylis hoists them to top level. This allows page defacement and DOM attribute exfiltration via CSS :has() selectors. This vulnerability is fixed in 10.9.6 and 11.15.0.

CVSS Base Scores

version 3.1