node-mermaid — security advisory
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.
- Products
- node-mermaid
- Affected versions
- 8.13.3+ds+~cs26.13.21-1, 8.13.3+ds+~cs26.13.21-2, 8.13.8+~cs10.4.16-1, 8.7.0+ds+~cs27.17.17-3, 9.2.2+~2.0.0-1, 9.2.2+~2.0.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-41150
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:11 UTC · Revision 1
Source evidence
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.
osv:UBUNTU-CVE-2026-41150
node-mermaid
Fixed versions: Not specified
node-mermaid
Fixed versions: Not specified
Complete source record
{
"id": "3964bf99e17ed2b3d78fa5abadb588f5dbfd055c2fe8ff357a22ec78571ae978",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-41150",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-41150",
"summary": "Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.",
"evidence": "osv:UBUNTU-CVE-2026-41150",
"products": [
{
"name": {
"value": "node-mermaid",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "8.7.0+ds+~cs27.17.17-3",
"evidence": "/affected/0/versions"
},
{
"value": "8.13.3+ds+~cs26.13.21-1",
"evidence": "/affected/0/versions"
},
{
"value": "8.13.3+ds+~cs26.13.21-2",
"evidence": "/affected/0/versions"
},
{
"value": "8.13.8+~cs10.4.16-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "node-mermaid",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "9.2.2+~2.0.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "9.2.2+~2.0.0-2",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2026-41150",
"aliases": [
"UBUNTU-CVE-2026-41150"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-mermaid",
"purl": "pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"8.7.0+ds+~cs27.17.17-3",
"8.13.3+ds+~cs26.13.21-1",
"8.13.3+ds+~cs26.13.21-2",
"8.13.8+~cs10.4.16-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41150.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-mermaid",
"binary_version": "8.13.8+~cs10.4.16-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "node-mermaid",
"purl": "pkg:deb/ubuntu/node-mermaid?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"9.2.2+~2.0.0-1",
"9.2.2+~2.0.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41150.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "node-mermaid",
"binary_version": "9.2.2+~2.0.0-2"
}
]
}
}
],
"modified": "2026-10-17T12:58:14.940796693Z",
"provider": "osv",
"upstream": [
"CVE-2026-41150"
],
"references": [
"https://ubuntu.com/security/CVE-2026-41150",
"https://www.cve.org/CVERecord?id=CVE-2026-41150",
"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh",
"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e",
"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6",
"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0",
"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"
]
},
"related_cves": [
{
"value": "CVE-2026-41150",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 358435,
"published_at": "2026-05-29T15:16:00+00:00"
}