CVE-2026-33628 Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items
Attackers can inject stored XSS payloads into invoice line items, potentially compromising user sessions in the client portal or PDF previews.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-33628?
CVE-2026-33628 is a medium-severity cross-site scripting vulnerability in invoiceninja, published on 26 Mar 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Invoice Ninja is a source-available invoice, quote, project and time-tracking app built with Laravel. Invoice line item descriptions in Invoice Ninja v5.13.0 bypass the XSS denylist filter, allowing stored XSS payloads to execute when invoices are rendered in the PDF preview or client portal. The line item description field was not passed through `purify::clean()` before rendering. This is fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize line item descriptions.
Which versions are affected by CVE-2026-33628?
2 open source packages ship an affected version, including invoiceninja/invoiceninja. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
invoiceninja/invoiceninja Packagist | All versions | 5.13.4 |
invoiceninja/invoiceninja Packagist | All versions | 5.13.4 |
Products include Invoiceninja Invoice Ninja.
How do I fix CVE-2026-33628?
Upgrade invoiceninja/invoiceninja to 5.13.4 or later.
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-33628 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33628 exists.
Other vulnerabilities in invoiceninja
- CVE-2021-33898 Deserialization in n/a
- CVE-2026-29925 Server-side request forgery in n/a
- CVE-2021-3977 Cross-site Scripting (XSS) - Stored in invoiceninja/invoiceninja
- CVE-2026-33742 Invoice Ninja has Stored XSS via Markdown HTML Injection in Product Notes
- CVE-2017-1000466 Cross-site scripting in n/a
Sources
Also known as GHSA-98wm-cxpw-847p.