{"id":79317,"date":"2026-06-04T23:46:57","date_gmt":"2026-06-04T20:16:57","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-41518-chartbrew-has-a-stored-dom-xss-via-chart-tooltip-innerhtml-chartdatasetconfig-legend\/"},"modified":"2026-06-04T23:46:57","modified_gmt":"2026-06-04T20:16:57","slug":"cve-2026-41518-chartbrew-has-a-stored-dom-xss-via-chart-tooltip-innerhtml-chartdatasetconfig-legend","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-41518-chartbrew-has-a-stored-dom-xss-via-chart-tooltip-innerhtml-chartdatasetconfig-legend\/","title":{"rendered":"CVE-2026-41518 &#8211; Chartbrew has a stored DOM XSS via Chart Tooltip innerHTML (ChartDatasetConfig.legend)"},"content":{"rendered":"<p>CVE ID :CVE-2026-41518<\/p>\n<p>  Published : June 4, 2026, 8:16 p.m. | 16\u00a0minutes ago<\/p>\n<p>  Description :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 \u2014 no hover interaction is required. Browser-based Playwright verification confirmed `alert(&#8216;localhost&#8217;)` fires immediately and &#8220; is present in the `#chartjs-tooltip` DOM element. Version 5.0.1 contains a fix.<\/p>\n<p>  Severity: 7.6 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-41518 Published : June 4, 2026, 8:16 p.m. | 16\u00a0minutes ago Description :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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79317","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79317"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79317\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}