{"id":15576,"date":"2026-09-04T19:04:21","date_gmt":"2026-09-04T11:04:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-41518"},"modified":"2026-09-04T19:04:21","modified_gmt":"2026-09-04T11:04:21","slug":"cve-2026-41518","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-41518","title":{"rendered":"CVE-2026-41518 [HIGH] &#8211; Chartbrew is an open-source web application that can connect directly to databases and API"},"content":{"rendered":"<p>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 `<img decoding=\"async\" src=\"x\">` is present in the `#chartjs-tooltip` DOM element. Version 5.0.1 contains a fix.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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-edito<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15576","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}