PT-2026-68099 · Unknown · Invoice Ninja

·

CVE-2026-71233

·

Published

2026-08-05

·

Updated

2026-08-10

CVSS v3.1

8.7

High

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions InvoiceNinja version 5-stable
Description An authenticated user with invoice creation permissions can inject HTML or JavaScript payloads into the terms field of an invoice or quote. This occurs because the application renders this field in the client portal using a raw output directive without HTML sanitization. The StoreInvoiceRequest.php file only removes newlines and does not purify the HTML content. An attacker can exploit this by using the 'PUT /api/v1/invoices/{id}' API endpoint to set the terms variable, leading to script execution in the client's browser, which may result in session cookie theft and account takeover.
Recommendations As a temporary mitigation, restrict access to the 'PUT /api/v1/invoices/{id}' API endpoint or avoid using the terms parameter until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-71233

Affected Products

Invoice Ninja