CVE-2026-46489 SolidInvoice: Unrestricted file upload with no MIME validation allows stored XSS via malicious SVG logo
An authenticated administrator can upload a malicious SVG logo to trigger stored XSS, executing scripts in other users' browsers.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-46489?
CVE-2026-46489 is a high-severity cross-site scripting vulnerability in SolidInvoice, published on 11 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
SolidInvoice is an open-source invoicing platform. Prior to version 2.3.17, the company logo upload feature accepts any file type without validation. An authenticated administrator can upload an SVG file containing embedded JavaScript. This script is base64-encoded and injected unescaped into every page of the application, causing stored cross-site scripting (XSS) that executes in every authenticated user's browser. This issue has been patched in version 2.3.17.
Which versions are affected by CVE-2026-46489?
How do I fix CVE-2026-46489?
No fix has been published for CVE-2026-46489 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-46489 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46489 exists.
Sources
Also known as GHSA-mqwm-r4g8-wf4w.