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

Published Mar 24, 2026
·
Updated

Vulnerability Details

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.

Steps to Reproduce

1. Login as any authenticated user 2. Create or edit an invoice 3. In a line item description, enter: <img src=x onerror=alert(document.cookie)> 4. Save the invoice and preview it 5. The XSS payload executes in the browser

Impact

- Attacker: Any authenticated user who can create invoices - Victim: Any user viewing the invoice (including clients via the portal) - Specific damage: Session hijacking, account takeover, data exfiltration

Proposed Fix

Fixed in v5.13.4 by the vendor by adding purify::clean() to sanitize line item descriptions.

Other sources

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.

MITRE

Affected Software

2 affected componentsFixes available
composer/invoiceninja/invoiceninja<5.13.4
5.13.4
invoiceninja Invoice Ninja<5.13.4

Event History

Mar 24, 2026
Advisory Published
via GitHub·08:40 PM
Data Sourced
via GitHub·08:40 PM
DescriptionSeverityWeaknessAffected Software
Mar 26, 2026
CVE Published
via MITRE·08:48 PM
Data Sourced
via MITRE·08:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33628?

CVE-2026-33628 has a high severity due to its ability to execute stored XSS payloads.

2

How do I fix CVE-2026-33628?

To fix CVE-2026-33628, update Invoice Ninja to version 5.13.4 or later.

3

What software is affected by CVE-2026-33628?

CVE-2026-33628 affects Invoice Ninja versions prior to 5.13.4.

4

What causes the CVE-2026-33628 vulnerability?

CVE-2026-33628 is caused by the invoice line item description field bypassing the XSS denylist filter.

5

In what scenarios can CVE-2026-33628 be exploited?

CVE-2026-33628 can be exploited when invoices are rendered in the PDF preview or client portal.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203