CVE-2026-71233: InvoiceNinja: Stored XSS via Invoice/Quote Terms Field

Published Aug 5, 2026
·
Updated

InvoiceNinja v5-stable renders an invoice or quote's "terms" field in the client portal using Laravel Blade's raw output directive {!! $entity->terms !!} (resources/views/portal/ninja2020/invoices/includes/terms.blade.php) with no HTML sanitization. StoreInvoiceRequest.php only strips newlines from the field and does not purify HTML. An authenticated user with invoice creation access can set the terms field via the REST API (PUT /api/v1/invoices/{id}) to an HTML/JavaScript payload that executes in the client's browser when they view the invoice, enabling session cookie theft and client account takeover. This is a distinct code path from the previously published invoice line-item description field XSS (GHSA-98wm-cxpw-847p / CVE-2026-33628).

Affected Software

1 affected component
invoiceninja InvoiceNinja=5-stable

Event History

Aug 5, 2026
CVE Published
via MITRE·10:56 AM
Data Sourced
via MITRE·10:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
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-71233?

The severity of CVE-2026-71233 is rated high with a CVSS score of 8.7.

2

How do I fix CVE-2026-71233?

To fix CVE-2026-71233, ensure that HTML sanitization is implemented for the terms field before rendering it in the client portal.

3

What type of vulnerability is CVE-2026-71233?

CVE-2026-71233 is a stored Cross-Site Scripting (XSS) vulnerability.

4

Which software is affected by CVE-2026-71233?

CVE-2026-71233 affects InvoiceNinja v5-stable.

5

What are the potential impacts of CVE-2026-71233?

The potential impacts of CVE-2026-71233 include unauthorized access to sensitive client information and possible session hijacking.

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