VDB
GHSA-m4gq-x24j-jpmf
GHSA-m4gq-x24j-jpmf
PUBLISHED
CVSS 7 HIGH
Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify
Record from GitHub Advisory Database · Published October 22, 2024
mermaid is fixed in 10.9.3 (npm)
Prototype pollution vulnerability found in Mermaid's bundled version of DOMPurify
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mermaid | npm | 10.9.3 |
| gitlab-rails-ce-fips-18.10 | Chainguard | 18.10.8-r8 |
| gitlab-rails-ce-fips-18.11 | Chainguard | 18.11.12-r2 |
| gitlab-rails-ce-18.11 | Chainguard | 18.11.13-r0 |
| gitlab-rails-ce-fips-18.9 | Chainguard | 18.9.8-r8 |
Risk scores
CVSS 3.1
7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| npm | mermaid | 0 |
| chainguard | gitlab-rails-ce-fips-18.10 | 0 |
| npm | mermaid | |
| chainguard | gitlab-rails-ce-fips-18.11 | 0 |
| chainguard | gitlab-rails-ce-18.11 | 0 |
| chainguard | gitlab-rails-ce-fips-18.9 | 0 |
Timeline
- Oct 22, 2024 CVE Published
- Oct 23, 2024 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-m4gq-x24j-jpmf
vulnetix vdb fixes GHSA-m4gq-x24j-jpmf
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-m4gq-x24j-jpmf/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/advisories/GHSA-m4gq-x24j-jpmf advisory
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-mmhx-hmjr-r674 url
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-m4gq-x24j-jpmf url
- https://github.com/mermaid-js/mermaid/commit/6c785c93166c151d27d328ddf68a13d9d65adc00 url
- https://github.com/mermaid-js/mermaid/commit/92a07ffe40aab2769dd1c3431b4eb5beac282b34 url
- https://github.com/mermaid-js/mermaid package