{"items":[{"id":"NVI-00015089","kind":"vulnerability","title":"Mermaid allows CSS injection applying to sibling elements of the diagram","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-6x64-9x62-f2gx","CVE-2026-50159"],"plain_summary":"GitHub lists this reviewed advisory for mermaid, mermaid. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-2cd9b3bad8ba94397eb40f3ed99dc64f"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-24T16:10:00.153Z","value":"5.3 MEDIUM (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-60e166b639c3ca77618e6317e457c827"},{"kind":"EPSS","as_of":"2026-11-03T12:00:27.000Z","value":"0.603%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.4889. Missing scores are unknown.","source_id":"sr-2cd9b3bad8ba94397eb40f3ed99dc64f"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-1e1f9c32ae07e71661622fad94d78c26","url":"https://github.com/advisories/GHSA-6x64-9x62-f2gx","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-6x64-9x62-f2gx","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T02:28:46.523Z"},{"id":"sr-60e166b639c3ca77618e6317e457c827","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50159","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-50159","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-08T01:47:50.916Z"},{"id":"sr-2cd9b3bad8ba94397eb40f3ed99dc64f","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-50159","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:44:07.786Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1e1f9c32ae07e71661622fad94d78c26"],"technology":"mermaid","known_exclusions":[],"conditions_summary":"### Summary\n\nMermaid does not fully restrict CSS to the rendered SVG subtree. Although selectors are prefixed with `#mermaid-X`, sibling (`~` and `+`) combinators can still escape the Mermaid container and inject styles to DOM elements adjacent to the diagram ``.\n\n**Most users of mermaid would not be affected by this**, as mermaid adds its `` as an only child of it's parent element. However, you may be affected if you manually insert the `` (or other elements) into the DOM yourself.\n\n### Details\n\nMermaid namespaces CSS through with a middleware intended to scope all rules to the diagram's SVG element. CSS nesting expands `& ~ * { ... }` to `#svgId ~ *`, which selects all sibling elements following the SVG in the DOM, outside the diagram boundary.\n\n### Impact\n\nAn attacker able to supply diagram source to a page (e.g., user-generated content rendered by Mermaid) could inject CSS rules affecting sibling elements to the diagram `` on the host page. This can be used for UI redressing, hiding content, conditional CSS-based probing, or phishing-style visual manipulation.\n\nJavaScript execution is not possible via this vector.\n\n### Patches\n\nThis has been patched in https","public_affected_ranges":[">= 11.0.0-alpha.1, < 11.16.1"]},{"certainty":"source_listed","source_ids":["sr-1e1f9c32ae07e71661622fad94d78c26"],"technology":"mermaid","known_exclusions":[],"conditions_summary":"### Summary\n\nMermaid does not fully restrict CSS to the rendered SVG subtree. Although selectors are prefixed with `#mermaid-X`, sibling (`~` and `+`) combinators can still escape the Mermaid container and inject styles to DOM elements adjacent to the diagram ``.\n\n**Most users of mermaid would not be affected by this**, as mermaid adds its `` as an only child of it's parent element. However, you may be affected if you manually insert the `` (or other elements) into the DOM yourself.\n\n### Details\n\nMermaid namespaces CSS through with a middleware intended to scope all rules to the diagram's SVG element. CSS nesting expands `& ~ * { ... }` to `#svgId ~ *`, which selects all sibling elements following the SVG in the DOM, outside the diagram boundary.\n\n### Impact\n\nAn attacker able to supply diagram source to a page (e.g., user-generated content rendered by Mermaid) could inject CSS rules affecting sibling elements to the diagram `` on the host page. This can be used for UI redressing, hiding content, conditional CSS-based probing, or phishing-style visual manipulation.\n\nJavaScript execution is not possible via this vector.\n\n### Patches\n\nThis has been patched in https","public_affected_ranges":["< 10.9.8"]}],"null_published_at":"2026-11-08T19:53:44.062Z","source_updated_at":"2026-08-06T19:55:33.000Z","source_disclosed_at":"2026-08-06T19:55:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-11-03T02:28:46.523Z"},{"id":"NVI-00015089","kind":"vulnerability","title":"Mermaid allows CSS injection applying to sibling elements of the diagram","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-6x64-9x62-f2gx","CVE-2026-50159"],"plain_summary":"GitHub lists this reviewed advisory for mermaid, mermaid. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1e1f9c32ae07e71661622fad94d78c26"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-1e1f9c32ae07e71661622fad94d78c26","url":"https://github.com/advisories/GHSA-6x64-9x62-f2gx","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-6x64-9x62-f2gx","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T02:28:46.523Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-1e1f9c32ae07e71661622fad94d78c26"],"technology":"mermaid","known_exclusions":[],"conditions_summary":"### Summary\n\nMermaid does not fully restrict CSS to the rendered SVG subtree. Although selectors are prefixed with `#mermaid-X`, sibling (`~` and `+`) combinators can still escape the Mermaid container and inject styles to DOM elements adjacent to the diagram ``.\n\n**Most users of mermaid would not be affected by this**, as mermaid adds its `` as an only child of it's parent element. However, you may be affected if you manually insert the `` (or other elements) into the DOM yourself.\n\n### Details\n\nMermaid namespaces CSS through with a middleware intended to scope all rules to the diagram's SVG element. CSS nesting expands `& ~ * { ... }` to `#svgId ~ *`, which selects all sibling elements following the SVG in the DOM, outside the diagram boundary.\n\n### Impact\n\nAn attacker able to supply diagram source to a page (e.g., user-generated content rendered by Mermaid) could inject CSS rules affecting sibling elements to the diagram `` on the host page. This can be used for UI redressing, hiding content, conditional CSS-based probing, or phishing-style visual manipulation.\n\nJavaScript execution is not possible via this vector.\n\n### Patches\n\nThis has been patched in https","public_affected_ranges":[">= 11.0.0-alpha.1, < 11.16.1"]},{"certainty":"source_listed","source_ids":["sr-1e1f9c32ae07e71661622fad94d78c26"],"technology":"mermaid","known_exclusions":[],"conditions_summary":"### Summary\n\nMermaid does not fully restrict CSS to the rendered SVG subtree. Although selectors are prefixed with `#mermaid-X`, sibling (`~` and `+`) combinators can still escape the Mermaid container and inject styles to DOM elements adjacent to the diagram ``.\n\n**Most users of mermaid would not be affected by this**, as mermaid adds its `` as an only child of it's parent element. However, you may be affected if you manually insert the `` (or other elements) into the DOM yourself.\n\n### Details\n\nMermaid namespaces CSS through with a middleware intended to scope all rules to the diagram's SVG element. CSS nesting expands `& ~ * { ... }` to `#svgId ~ *`, which selects all sibling elements following the SVG in the DOM, outside the diagram boundary.\n\n### Impact\n\nAn attacker able to supply diagram source to a page (e.g., user-generated content rendered by Mermaid) could inject CSS rules affecting sibling elements to the diagram `` on the host page. This can be used for UI redressing, hiding content, conditional CSS-based probing, or phishing-style visual manipulation.\n\nJavaScript execution is not possible via this vector.\n\n### Patches\n\nThis has been patched in https","public_affected_ranges":["< 10.9.8"]}],"null_published_at":"2026-11-03T10:03:26.547Z","source_updated_at":"2026-08-06T19:55:33.000Z","source_disclosed_at":"2026-08-06T19:55:31.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T02:28:46.523Z"}],"next_cursor":null,"snapshot_revision":"42594"}