Bug 2389505 (CVE-2025-54881)

Summary: CVE-2025-54881 mermaid: Mermaid cross site scripting
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A Cross-site scripting (XSS) flaw was found in the Mermaid JavaScript diagramming and charting tool. In the default configuration, user-supplied input for sequence diagram labels is passed to innerHTML during calculation of element size, causing XSS to occur.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2389816, 2389822, 2389824, 2389834, 2389844, 2389810, 2389812, 2389814, 2389818, 2389820, 2389826, 2389828, 2389830, 2389832, 2389836, 2389838, 2389840, 2389842    
Bug Blocks:    

Description OSIDB Bzimport 2025-08-19 18:04:40 UTC
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.