top of page
perceptive_background_267k.jpg

InvoiceNinja v5-stable renders an invoice or quote's "terms" field in the client portal using Laravel Blade's raw output directive {!! $entity->terms !!} (resou…

Published:

4 augustus 2026 om 22:00:00

Alert date:

5 augustus 2026 om 12:07:08

Source:

nvd.nist.gov

Click to open the original link from this advisory

Web Technologies, Enterprise Applications

InvoiceNinja v5-stable contains a stored Cross-Site Scripting (XSS) vulnerability in the invoice/quote 'terms' field. The client portal renders this field using Laravel Blade's raw output directive without any HTML sanitization. The StoreInvoiceRequest.php validation only strips newlines and does not purify HTML content. An authenticated user with invoice creation access can inject malicious HTML/JavaScript payloads via the REST API endpoint PUT /api/v1/invoices/{id}. When a client views the invoice in the portal, the payload executes in their browser. This can lead to session cookie theft and full client account takeover. This vulnerability is distinct from a previously disclosed XSS in the invoice line-item description field (CVE-2026-33628 / GHSA-98wm-cxpw-847p), representing a separate vulnerable code path.

Technical details

Mitigation steps:

Affected products:

InvoiceNinja v5-stable

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page