Bug 2512365 (CVE-2026-50159) - CVE-2026-50159 mermaid: Mermaid: CSS injection allows altering page elements via diagram input
Summary: CVE-2026-50159 mermaid: Mermaid: CSS injection allows altering page elements ...
Keywords:
Status: NEW
Alias: CVE-2026-50159
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-06 22:32 UTC by OSIDB Bzimport
Modified: 2026-08-10 10:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-06 22:32:13 UTC
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.8 and 11.16.1, Mermaid is vulnerable to CSS injection via sibling combinator selectors generated from diagram-supplied class or id names. An attacker who can supply diagram text can inject arbitrary CSS into the rendered page, potentially altering the appearance or behavior of unrelated page elements. This issue is fixed in versions 10.9.8 and 11.16.1.


Note You need to log in before you can comment on or make changes to this bug.