{"id":"CVE-2026-71437","aliases":["DEBIAN-CVE-2026-71437","DHI-ni5p-rux3-vbsb-kfl7","GHSA-3rrr-jr9j-h3q3","UBUNTU-CVE-2026-71437"],"summary":"Mermaid Architecture diagrams are vulnerable to prototype pollution","published_at":"2026-08-06T19:51:52.975Z","modified_at":"2026-11-16T02:35:53.751415Z","products":[],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.005030000116676092,"percentile":0.43821001052856445,"date":"2026-11-19T00:00:00Z"},"priority":7.5,"details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"mermaid-js/mermaid","versions":[">= 11.5.0, < 11.16.1"],"provider":"cvelistv5","source":"CVE-2026-71437","relation":"self"},{"ecosystem":"Debian:14","package":"node-mermaid","purl":"pkg:deb/debian/node-mermaid?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.11.0+ds+~cs29.13.22-1","8.13.2+ds+~cs30.13.21-1","8.13.2+ds+~cs30.13.21-1.1","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1","8.14.0+ds1+~cs11.4.14-1","8.14.0+~cs11.4.14-1","8.7.0+ds+~cs27.17.17-1","8.7.0+ds+~cs27.17.17-2","8.7.0+ds+~cs27.17.17-2~bpo10+1","8.7.0+ds+~cs27.17.17-3","8.9.1+ds+~cs26.20.25-1","8.9.3+ds+~cs29.13.19-1","9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"DEBIAN-CVE-2026-71437","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea","purl":"pkg:apk/dhi/gitea","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-dev","purl":"pkg:apk/dhi/gitea-dev","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-fips","purl":"pkg:apk/dhi/gitea-fips","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-fips-dev","purl":"pkg:apk/dhi/gitea-fips-dev","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"datahub-ingestion","purl":"pkg:deb/dhi/datahub-ingestion","versions":["1.5.0.7-0","1.6.0.1-0","1.6.0.1-1","1.6.0.1-2","1.6.0.1-3","1.6.0.2-0","1.6.0.2-1","1.7.0.10-0","1.7.0.12-0","1.7.0.13-0","1.7.0.14-0","1.7.0.14-1","1.7.0.14-2","1.7.0.16-0","1.7.0.16-1","1.7.0.17-0","1.7.0.17-1","1.7.0.17-2","1.7.0.17-3","1.7.0.18-0","1.7.0.19-0","1.7.0.19-1","1.7.0.19-2","1.7.0.19-3","1.7.0.19-4","1.7.0.19-5","1.7.0.19-6","1.7.0.20-6","1.7.0.20-7"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"provider":"osv","source":"UBUNTU-CVE-2026-71437","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"UBUNTU-CVE-2026-71437","relation":"self"},{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"11.5.0"},{"fixed":"11.16.1"}]}],"fixed":["11.16.1"],"provider":"osv","source":"GHSA-3rrr-jr9j-h3q3","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-71437","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-71437","license":"CC-BY-4.0","published_at":"2026-08-06T19:51:52.975Z","modified_at":"2026-08-07T17:37:35.933Z","summary":"Mermaid Architecture diagrams are vulnerable to prototype pollution","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H","source":"CVE-2026-71437"}],"affected":[{"ecosystem":"CVE","package":"mermaid-js/mermaid","versions":[">= 11.5.0, < 11.16.1"],"provider":"cvelistv5","source":"CVE-2026-71437","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"}]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-71437","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-71437","published_at":"2026-08-06T22:18:30.713Z","modified_at":"2026-10-25T09:47:31.697283Z","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H/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","source":"DEBIAN-CVE-2026-71437"}],"affected":[{"ecosystem":"Debian:14","package":"node-mermaid","purl":"pkg:deb/debian/node-mermaid?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.11.0+ds+~cs29.13.22-1","8.13.2+ds+~cs30.13.21-1","8.13.2+ds+~cs30.13.21-1.1","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1","8.14.0+ds1+~cs11.4.14-1","8.14.0+~cs11.4.14-1","8.7.0+ds+~cs27.17.17-1","8.7.0+ds+~cs27.17.17-2","8.7.0+ds+~cs27.17.17-2~bpo10+1","8.7.0+ds+~cs27.17.17-3","8.9.1+ds+~cs26.20.25-1","8.9.3+ds+~cs29.13.19-1","9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"DEBIAN-CVE-2026-71437","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-71437"}]},{"provider":"osv","source_id":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self","url":"https://osv.dev/vulnerability/DHI-ni5p-rux3-vbsb-kfl7","license":"Apache-2.0","published_at":"2026-11-11T21:36:42Z","modified_at":"2026-11-16T02:35:53.751415Z","summary":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version…","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H/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","source":"DHI-ni5p-rux3-vbsb-kfl7"}],"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea","purl":"pkg:apk/dhi/gitea","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-dev","purl":"pkg:apk/dhi/gitea-dev","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-fips","purl":"pkg:apk/dhi/gitea-fips","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","package":"gitea-fips-dev","purl":"pkg:apk/dhi/gitea-fips-dev","versions":["1.26.4-r1","1.27.0-r1","1.27.0-r2","1.27.1-r0","1.27.1-r1","1.27.1-r2","1.27.1-r3","1.27.2-r0","1.27.2-r1","1.27.2-r2","1.27.2-r3","1.27.2-r4","1.27.3-r0","1.27.3-r1","1.27.3-r10","1.27.3-r11","1.27.3-r12","1.27.3-r13","1.27.3-r14","1.27.3-r15","1.27.3-r16","1.27.3-r17","1.27.3-r18","1.27.3-r19","1.27.3-r2","1.27.3-r20","1.27.3-r3","1.27.3-r4","1.27.3-r5","1.27.3-r7","1.27.3-r8","1.27.3-r9","28.3.0-r0","28.3.0-r1","28.3.0-r2","28.3.0-r3","28.3.0-r4"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"},{"ecosystem":"Docker Hardened Images:Debian:13","package":"datahub-ingestion","purl":"pkg:deb/dhi/datahub-ingestion","versions":["1.5.0.7-0","1.6.0.1-0","1.6.0.1-1","1.6.0.1-2","1.6.0.1-3","1.6.0.2-0","1.6.0.2-1","1.7.0.10-0","1.7.0.12-0","1.7.0.13-0","1.7.0.14-0","1.7.0.14-1","1.7.0.14-2","1.7.0.16-0","1.7.0.16-1","1.7.0.17-0","1.7.0.17-1","1.7.0.17-2","1.7.0.17-3","1.7.0.18-0","1.7.0.19-0","1.7.0.19-1","1.7.0.19-2","1.7.0.19-3","1.7.0.19-4","1.7.0.19-5","1.7.0.19-6","1.7.0.20-6","1.7.0.20-7"],"provider":"osv","source":"DHI-ni5p-rux3-vbsb-kfl7","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ni5p-rux3-vbsb-kfl7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71437"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-71437"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"ADVISORY","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"FIX","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"FIX","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-71437"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-71437"}]},{"provider":"osv","source_id":"GHSA-3rrr-jr9j-h3q3","relation":"self","url":"https://osv.dev/vulnerability/GHSA-3rrr-jr9j-h3q3","license":"CC-BY-4.0","published_at":"2026-08-06T19:51:59Z","modified_at":"2026-09-10T03:51:12.960083Z","summary":"Mermaid Architecture diagrams are vulnerable to prototype pollution","details":"Rendering an untrusted `architecture-beta` diagram lets the diagram author write an arbitrary property with the value `horizontal` or `vertical` onto `Object.prototype`. A group id of `__proto__` is accepted as a valid parent.\n\n### Impact\n\nAny code in the same realm that reads a property of that name from an arbitrary object, or enumerates an object with bare `for...in`, observes the injected value (which can only be the string `horizontal` or `vertical`.\n\nThis may mean corrupted option/config defaults, bypassed truthiness checks, causing denial of service or logic corruption in the embedding application.\n\nBecause the injected value cannot be an object or function, this is not directly exploitable for remote code execution.\n\n### PoC\n\n```\narchitecture-beta\n      group mermaidPrototypePollutionMarker(cloud)[Marker]\n      service a(server)[A] in __proto__\n      service b(server)[B] in mermaidPrototypePollutionMarker\n      a:R -- L:b\n```\n\nThe vulnerable write was introduced in commit [cb0a4703bdf01d47508bde1c08aa9a980d70bc20](https://github.com/mermaid-js/mermaid/commit/cb0a4703bdf01d47508bde1c08aa9a980d70bc20) and first shipped in `mermaid@11.5.0`. The lines are unchanged in every release since.\n\n### Patches\n\nThis has been patched by https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf, released in [Mermaid v11.16.1](https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1)\n\n### Workarounds\n\nThere are no known workarounds. Please update to a patched version.\n\n### References\n\n_Are there any links users can visit to find out more?_\n\n- https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf\n- https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.16.1","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H","source":"GHSA-3rrr-jr9j-h3q3"}],"affected":[{"ecosystem":"npm","package":"mermaid","purl":"pkg:npm/mermaid","ranges":[{"type":"SEMVER","events":[{"introduced":"11.5.0"},{"fixed":"11.16.1"}]}],"fixed":["11.16.1"],"provider":"osv","source":"GHSA-3rrr-jr9j-h3q3","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"PACKAGE","url":"https://github.com/mermaid-js/mermaid"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-71437","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-71437","license":"CC-BY-SA-4.0","published_at":"2026-08-06T22:18:00Z","modified_at":"2026-10-17T12:59:33.089962Z","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.5.0 until 11.16.1, Mermaid Architecture Diagrams are vulnerable to prototype pollution when a diagram defines a group with an id of __proto__. Because the group id is used directly as an object property key without validation, an attacker who can supply diagram text can pollute Object.prototype, potentially affecting the behavior of the embedding application. This issue is fixed in version 11.16.1.","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:H/SI:H/SA:H","source":"UBUNTU-CVE-2026-71437"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-71437"}],"affected":[{"ecosystem":"Ubuntu:22.04:LTS","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"provider":"osv","source":"UBUNTU-CVE-2026-71437","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"node-mermaid","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2.2+~2.0.0-1","9.2.2+~2.0.0-2"],"provider":"osv","source":"UBUNTU-CVE-2026-71437","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-71437"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-71437"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"}]},{"provider":"redhat-vex","source_id":"CVE-2026-71437","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-71437","license":"CC-BY-4.0","published_at":"2026-08-06T19:51:52.975Z","modified_at":"2026-08-09T07:20:21.963994Z","summary":"mermaid: Mermaid: Prototype pollution vulnerability allows potential arbitrary code execution","details":"A flaw was found in Mermaid, a JavaScript tool for creating diagrams. This vulnerability, known as prototype pollution, occurs when a specially crafted diagram defines a group with a specific identifier. An attacker who can provide malicious diagram text can exploit this by manipulating core JavaScript object properties, potentially leading to arbitrary code execution or denial of service in the embedding application. This could allow an attacker to gain control over the application or disrupt its operations.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","source":"CVE-2026-71437"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-71437"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Build of Podman Desktop","cpe":"cpe:/a:redhat:podman_desktop:1","status":"affected","packages":["rh-podman-desktop.git"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/code-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-71437"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71437.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-71437"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512224"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-71437"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71437"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"}]}],"references":[{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/pull/8022"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/commit/99af3fc35ef0a9a9c8c6314521344d67523ddccf"},{"type":"WEB","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-71437"},{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ni5p-rux3-vbsb-kfl7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71437"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3rrr-jr9j-h3q3"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-71437"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-71437"},{"type":"PACKAGE","url":"https://github.com/mermaid-js/mermaid"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-71437"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71437.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-71437"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512224"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-71437","url":"https://www.cve.org/CVERecord?id=CVE-2026-71437","license":"CC-BY-4.0","modified_at":"2026-08-07T17:37:35.933Z","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-71437","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-71437","modified_at":"2026-10-25T09:47:31.697283Z","relation":"self"},{"provider":"osv","source_id":"DHI-ni5p-rux3-vbsb-kfl7","url":"https://osv.dev/vulnerability/DHI-ni5p-rux3-vbsb-kfl7","license":"Apache-2.0","modified_at":"2026-11-16T02:35:53.751415Z","relation":"self"},{"provider":"osv","source_id":"GHSA-3rrr-jr9j-h3q3","url":"https://osv.dev/vulnerability/GHSA-3rrr-jr9j-h3q3","license":"CC-BY-4.0","modified_at":"2026-09-10T03:51:12.960083Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-71437","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-71437","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:59:33.089962Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-71437","url":"https://access.redhat.com/security/cve/CVE-2026-71437","license":"CC-BY-4.0","modified_at":"2026-08-09T07:20:21.963994Z","relation":"self"}]}
