{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-41518","published":"2026-06-04T20:16:57.960000Z","last_modified":"2026-06-17T10:46:49.690000Z","status":"Deferred","cvss":{"version":"3.1","score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["chartbrew"],"products":["chartbrew/chartbrew"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-41518/","html_en":"/en/cve/CVE-2026-41518/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41518","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41518"},"untrusted":{"vendor_name":"chartbrew","product_name":"chartbrew","desc_en":"Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. In versions 4.9.0 through 5.0.0, an authenticated user with project-editor permissions can store arbitrary HTML/JavaScript in the `ChartDatasetConfig.legend` field. The payload is persisted verbatim in the database, propagated through the Chart.js rendering pipeline, and injected into the tooltip DOM element via an unguarded `innerHTML` assignment in `ChartTooltip.js`. Every unauthenticated viewer of the public dashboard triggers JavaScript execution on page load — no hover interaction is required. Browser-based Playwright verification confirmed `alert('localhost')` fires immediately and `<img src=\"x\" onerror=\"alert(document.domain)\">` is present in the `#chartjs-tooltip` DOM element. Version 5.0.1 contains a fix.","affected":[{"untrusted_vendor":"chartbrew","untrusted_product":"chartbrew","versions":[]}],"references":[{"url":"https://github.com/chartbrew/chartbrew/security/advisories/GHSA-6q2j-365c-7gqf","tags":[]}]}}