CVE-2026-14791
Received Received - Intake

Cross-Site Scripting in Crater Invoice up to 6.0.6

Vulnerability report for CVE-2026-14791, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-06

Last updated on: 2026-07-06

Assigner: VulDB

Description

A weakness has been identified in crater-invoice-inc crater up to 6.0.6. This affects the function getFormattedString of the file app/Http/Requests/InvoicesRequest.php of the component Invoice Note Handler. Executing a manipulation of the argument notes can lead to cross site scripting. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-06
Last Modified
2026-07-06
Generated
2026-07-06
AI Q&A
2026-07-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
crater-invoice-inc crater to 6.0.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-14791 is a stored Cross-Site Scripting (XSS) vulnerability in the Crater invoicing system affecting the 'notes' field of invoices. Authenticated users with permissions to create or edit invoices can inject malicious JavaScript code into this field. This malicious code is stored without proper validation and is rendered unescaped in the customer portal and PDF templates, allowing the script to execute in the browsers of users viewing the invoice.

The vulnerability arises because the application uses unsafe HTML rendering methods such as Vue's `v-html` directive and Laravel's `{!! !!}` directive without sanitizing the input, making it possible for attackers to inject harmful scripts.

Impact Analysis

Exploitation of this vulnerability allows attackers to execute arbitrary JavaScript in the browsers of customers who view the infected invoices. This can lead to several malicious outcomes including session theft, credential phishing, keylogging, or defacement of the user interface.

Since the attack can be performed by any user with delegated invoice permissions, not just administrators, it increases the risk of exploitation within organizations using Crater.

Detection Guidance

This vulnerability involves stored Cross-Site Scripting (XSS) through unsanitized invoice notes in Crater. Detection involves checking for malicious JavaScript payloads in the 'notes' field of invoices, especially those created or edited by authenticated users with invoice permissions.

Since the issue is related to stored data rendered unescaped in the customer portal and PDF templates, detection can be done by inspecting invoice notes for suspicious scripts or HTML tags.

Suggested commands or methods include:

  • Query the database for invoice notes containing suspicious script tags or HTML elements, for example using SQL: SELECT id, notes FROM invoices WHERE notes LIKE '%<script>%';
  • Use web application security scanners or manual testing tools to input JavaScript payloads into the notes field and observe if they are executed when viewing invoices.
  • Monitor HTTP traffic for unexpected script injections in responses related to invoice notes.
Mitigation Strategies

Immediate mitigation steps include restricting invoice creation and editing permissions to trusted users only, as any user with these permissions can exploit the vulnerability.

Avoid rendering invoice notes using unsafe HTML output directives such as Laravel's {!! !!} or Vue's v-html without sanitization.

Implement input sanitization or output encoding for the notes field to prevent injection of malicious scripts. This can be done by applying an allowlist approach to sanitize HTML before storage or rendering.

Since no patch is currently available, consider temporarily disabling or limiting access to the invoice notes feature if feasible.

Educate users to be cautious when viewing invoices and avoid clicking on suspicious links or scripts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-14791. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart