CVE-2026-27605

Chartbrew: Stored Cross-Site Scripting (XSS) via File Upload API

State
Published
Severity
6.3 Medium
Published
Mar 6, 2026
Updated
Mar 6, 2026
Reserved
Feb 20, 2026

Read the record on cve.org

Description

Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to version 4.8.4, the application allows uploading files (project logos) without validating the file type or content. It trusts the extension provided by the user. These files are saved to the uploads/ directory and served statically. An attacker can upload an HTML file containing malicious JavaScript. Since authentication tokens are likely stored in localStorage (as they are returned in the API body), this XSS can lead to account takeover. This issue has been patched in version 4.8.4.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
chartbrewchartbrew
  • < 4.8.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.