CVE-2026-41159
Mermaid: Improper sanitization of configuration leads to CSS injection
02 Description
Mermaid: Improper sanitization of configuration leads to CSS injection
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.48% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 41.5% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVD analysis status
- Modified. NVD last modified this record on 2026-07-21.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-05-29 13:53Z5 MO AGO
- Last updated
- 2026-07-01 19:21Z4 MO AGO
- Reserved
- 2026-04-17
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:L
- Weaknesses
- Data version
- 5.2
- Document digest
- 863a11d271e1e69d65194db68a54b165ec7ad8ca686a8441aaf1b1b5106c2d7d
05 Affected products
06 References
- github.comhttps://github.com/mermaid-js/mermaid/security/advisories/GHSA-87f9-hvmw-gh4p
- github.comhttps://github.com/mermaid-js/mermaid/commit/64769738d5b59211e1decb471ffbaca8afec51aa
- github.comhttps://github.com/mermaid-js/mermaid/commit/a9d9f0d8eb790349121508688cd338253fd80d76
- github.comhttps://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.15.0
- github.comhttps://github.com/mermaid-js/mermaid/releases/tag/v10.9.6
07 Fixed in
Debian 14
- node-mermaid No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- node-mermaid No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- node-mermaid No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.