CVE-2026-59791

CSS Injection via Mermaid Diagrams in YouTrack

Published Jul 10, 2026 CVSS 3.1 · 3.5 Low EPSS < 1% KEV · Not listed
Description
In JetBrains YouTrack before 2026.2.17012 cSS injection via Mermaid diagram rendering was possible

Analysis

AI-generated

Technical impact

JetBrains YouTrack renders Mermaid diagrams that allow CSS to be embedded. This flaw, classified as CWE‑1021, can lead to unauthorized style changes within the application’s user interface. An attacker could embed malicious CSS in a diagram to manipulate UI rendering, potentially confusing users or masking interface elements.

Affected Systems

JetBrains YouTrack versions before 2026.2.17012 are affected. No other vendors or products are listed as impacted. The vulnerability applies to all releases older than 2026.2.17012, regardless of minor sub‑versions.

Risk and Exploitability

The CVSS score of 3.5 indicates low severity, and the EPSS score of less than 1% suggests a very low likelihood of exploitation. The vulnerability is not listed in CISA KEV. The attack vector is likely the submission of a Mermaid diagram containing malicious CSS, which requires the attacker to provide input that is processed as a diagram, typically through user‑generated content or an interface that accepts diagram definitions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade JetBrains YouTrack to version 2026.2.17012 or later.
  • Disable Mermaid diagram rendering if the feature is not required for business processes.
  • If disabling is not feasible, validate and sanitize Mermaid diagram input to remove or neutralize CSS before rendering.

Generated by OpenCVE AI on August 1, 2026 at 12:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title CSS Injection via Mermaid Diagrams in YouTrack
Type Values Removed Values Added
Title CSS injection via Mermaid diagram rendering in JetBrains YouTrack
Type Values Removed Values Added
Title CSS injection via Mermaid diagram rendering in JetBrains YouTrack
Type Values Removed Values Added
Title CSS Injection via Mermaid Diagram Rendering in JetBrains YouTrack
Type Values Removed Values Added
Title CSS Injection via Mermaid Diagram Rendering in JetBrains YouTrack
Type Values Removed Values Added
Title YouTrack CSS Injection via Mermaid Diagram Rendering
Type Values Removed Values Added
Title YouTrack CSS Injection via Mermaid Diagram Rendering
Type Values Removed Values Added
Title CSS Injection via Mermaid Diagram Rendering in JetBrains YouTrack
Type Values Removed Values Added
Title CSS Injection via Mermaid Diagram Rendering in JetBrains YouTrack
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jetbrains
Jetbrains youtrack
Vendors & Products Jetbrains
Jetbrains youtrack
Type Values Removed Values Added
Description In JetBrains YouTrack before 2026.2.17012 cSS injection via Mermaid diagram rendering was possible
Weaknesses CWE-1021
References
Metrics cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

Sources

Status
PUBLISHED
Assigner
JetBrains
Published
Updated
Jul 10, 2026, 5:00 PM
Reserved
Jul 7, 2026, 9:41 AM
Status
Analyzed
Published
Jul 10, 2026, 3:16 PM
Modified
Oct 24, 2026, 11:10 PM