InvoiceNinja v5-stable renders an invoice or quote's "terms" field in the client portal using Laravel Blade's raw output directive {!! (CVE-2026-71233)
InvoiceNinja v5-stable contains a cross-site scripting (XSS) vulnerability in the client portal where the "terms" field of an invoice or quote is rendered using Laravel Blade's raw output directive without HTML sanitization. An authenticated user with invoice creation permissions can inject malicious HTML or JavaScript via the REST API, which executes in the client's browser when viewing the invoice. This vulnerability enables session cookie theft and potential client account takeover. It is distinct from a previously reported XSS vulnerability in the invoice line-item description field.
AI Analysis
Technical Summary
InvoiceNinja v5-stable renders the "terms" field of invoices or quotes in the client portal using Laravel Blade's raw output directive {!! $entity->terms !!} without sanitizing HTML content. The StoreInvoiceRequest.php component only removes newlines but does not purify or escape HTML. Consequently, an authenticated user with access to create or modify invoices can supply a malicious HTML/JavaScript payload via the REST API endpoint PUT /api/v1/invoices/{id}. This payload executes in the browser of clients viewing the invoice, enabling cross-site scripting attacks that can lead to session cookie theft and client account compromise. This vulnerability is tracked as CVE-2026-71233 and is separate from the previously disclosed invoice line-item description XSS (CVE-2026-33628).
Potential Impact
Successful exploitation allows an authenticated user with invoice creation privileges to inject malicious scripts into the "terms" field of invoices or quotes. When clients view these invoices in the portal, the injected scripts execute in their browsers, potentially stealing session cookies and enabling client account takeover. The vulnerability has a high severity score (CVSS 8.7) due to its ability to compromise client accounts and data confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict invoice creation permissions to trusted users only and avoid entering untrusted content into the "terms" field. Monitor vendor communications for updates regarding patches or official mitigations.
InvoiceNinja v5-stable renders an invoice or quote's "terms" field in the client portal using Laravel Blade's raw output directive {!! (CVE-2026-71233)
Description
InvoiceNinja v5-stable contains a cross-site scripting (XSS) vulnerability in the client portal where the "terms" field of an invoice or quote is rendered using Laravel Blade's raw output directive without HTML sanitization. An authenticated user with invoice creation permissions can inject malicious HTML or JavaScript via the REST API, which executes in the client's browser when viewing the invoice. This vulnerability enables session cookie theft and potential client account takeover. It is distinct from a previously reported XSS vulnerability in the invoice line-item description field.
CVSS v3.1
Score 8.7high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
InvoiceNinja v5-stable renders the "terms" field of invoices or quotes in the client portal using Laravel Blade's raw output directive {!! $entity->terms !!} without sanitizing HTML content. The StoreInvoiceRequest.php component only removes newlines but does not purify or escape HTML. Consequently, an authenticated user with access to create or modify invoices can supply a malicious HTML/JavaScript payload via the REST API endpoint PUT /api/v1/invoices/{id}. This payload executes in the browser of clients viewing the invoice, enabling cross-site scripting attacks that can lead to session cookie theft and client account compromise. This vulnerability is tracked as CVE-2026-71233 and is separate from the previously disclosed invoice line-item description XSS (CVE-2026-33628).
Potential Impact
Successful exploitation allows an authenticated user with invoice creation privileges to inject malicious scripts into the "terms" field of invoices or quotes. When clients view these invoices in the portal, the injected scripts execute in their browsers, potentially stealing session cookies and enabling client account takeover. The vulnerability has a high severity score (CVSS 8.7) due to its ability to compromise client accounts and data confidentiality.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict invoice creation permissions to trusted users only and avoid entering untrusted content into the "terms" field. Monitor vendor communications for updates regarding patches or official mitigations.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-84j5-x242-f7h8
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-71233"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a73574cbf8831d53915a370
Added to database: 08/05/2026, 15:31:24 UTC
Last enriched: 08/05/2026, 17:44:25 UTC
Last updated: 09/17/2026, 22:01:38 UTC
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.