CVE-2026-59791 Cross-site scripting in YouTrack
Attackers can inject malicious CSS via Mermaid diagrams in JetBrains YouTrack, potentially leading to code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-59791?
CVE-2026-59791 is a low-severity cross-site scripting vulnerability in Jetbrains Youtrack, published on 10 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In JetBrains YouTrack before 2026.2.17012 cSS injection via Mermaid diagram rendering was possible
Weakness: CWE-1021
Which versions are affected by CVE-2026-59791?
It affects 1 product.
Products include Jetbrains Youtrack.
How do I fix CVE-2026-59791?
No fix has been published for CVE-2026-59791 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-59791 being exploited?
There is no known exploitation of CVE-2026-59791 in the wild and no public exploit code.
Other vulnerabilities in Jetbrains Youtrack
Sources
Also known as GHSA-mpf8-m2c9-vcf7.