Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable stored XSS requiring low-privilege auth and victim interaction; scope changes to victim browser enabling session-level confidentiality and integrity impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Cross-site scripting in Crater invoice application (up to v6.0.6) allows an authenticated attacker to inject malicious script payloads via the invoice notes field, executing in the browser of any user who subsequently views the crafted invoice. The vulnerable function getFormattedString in app/Http/Requests/InvoicesRequest.php performs insufficient neutralization of the notes argument, classified under CWE-79. A public proof-of-concept exploit exists; no vendor patch has been released as the project has not responded to the coordinated disclosure made via GitHub issue #1327.
Technical ContextAI
Crater is a PHP-based open-source invoicing application (cpe:2.3:a:crater-invoice-inc:crater:*:*:*:*:*:*:*:*). The flaw resides in the Invoice Note Handler component, specifically the getFormattedString function within app/Http/Requests/InvoicesRequest.php, which processes the notes argument submitted during invoice creation or editing. CWE-79 (Improper Neutralization of Input During Web Page Generation) indicates a failure to encode or sanitize user-supplied HTML/JavaScript before rendering it in the browser. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) confirms the vulnerability is network-reachable with low attack complexity, requires low-level authentication, and depends on passive victim interaction - consistent with stored XSS behavior where the payload persists server-side and executes when another user loads the affected invoice view.
RemediationAI
No vendor-released patch has been identified at time of analysis; the project was notified via GitHub issue #1327 (https://github.com/crater-invoice-inc/crater/issues/1327) but has not responded. Operators should monitor the GitHub repository and VulDB entry (https://vuldb.com/vuln/376385) for patch availability. As immediate compensating controls, restrict invoice creation and editing privileges to the minimum set of trusted users - reducing the attacker pool. Implement a Web Application Firewall rule to strip or block script injection patterns in the notes field, noting this may interfere with legitimate rich-text content. Enforce a strict Content-Security-Policy header (e.g., script-src 'self') to block inline script execution, which mitigates XSS payload impact even if injection succeeds. Organizations with the technical capacity to fork or patch locally can add output encoding (e.g., htmlspecialchars in PHP) to the notes rendering path in app/Http/Requests/InvoicesRequest.php as a direct fix.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41802
GHSA-pjgh-hr58-wj7w