CVE-2026-33628 Invoice Ninja Denylist Bypass may Lead to Stored XSS via Invoice Line Items

Medium 5.4 Published Updated

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.

Weakness: CWE-79, CWE-184, CWE-116

Which versions are affected by CVE-2026-33628?

2 open source packages ship an affected version, including invoiceninja/invoiceninja. It affects 1 product.

PackageAffectedFixed in
invoiceninja/invoiceninja PackagistAll versions5.13.4
invoiceninja/invoiceninja PackagistAll versions5.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.

Sources

Also known as GHSA-98wm-cxpw-847p.

Is CVE-2026-33628 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free