Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with low-privilege Crater account
-
DeliveryNavigate to invoice creation interface
-
ExploitInject XSS payload into notes field
-
InstallSubmit and persist crafted invoice server-side
-
C2Victim user opens invoice in browser
-
ExecuteMalicious script executes in victim session
-
ImpactExfiltrate session token or perform unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid, low-privilege authenticated account in the Crater application with permission to create or edit invoices (PR:L per CVSS 4.0). Additionally, passive user interaction is required (UI:P): a second user - such as an administrator or accountant - must open and render the crafted invoice for the XSS payload to execute. This limits the attack to multi-user Crater deployments where invoice notes are visible to users other than the creator. Single-user deployments or environments where invoice viewing is restricted to the originating user are not meaningfully at risk. No non-default configuration is required beyond the standard invoice notes functionality being accessible. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) reflects a genuine medium-risk finding. The vector AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N confirms network exploitability with low complexity but constrains impact to low integrity with no confidentiality or availability effect at the system level - typical for reflected or stored XSS limited to browser-context manipulation. The E:P (proof-of-concept exploit exists) supplemental metric elevates practical risk above theoretical. No CISA KEV listing is present, indicating no confirmed widespread active exploitation at time of analysis. The dual requirement of low-privilege authentication (PR:L) and passive user interaction (UI:P) meaningfully limits the attack surface: this is not a zero-click, unauthenticated mass-exploitation scenario. However, in multi-user Crater deployments - particularly where invoice notes are routinely reviewed by administrators or accountants - a malicious authenticated user could leverage this for session hijacking or privilege escalation via social engineering. The absence of vendor response is a compounding factor that elevates urgency for affected operators. |
| Exploit ScenarioDerived | An authenticated attacker with a low-privilege Crater account navigates to invoice creation, enters a JavaScript payload (e.g., a cookie-stealing script) in the notes field, and saves the invoice. When an administrator or accountant subsequently opens the invoice to review or approve it, the malicious script executes in their browser session, potentially exfiltrating their session token to an attacker-controlled server. A public proof-of-concept is available at https://github.com/crater-invoice-inc/crater/issues/1327, reducing the skill threshold required for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Crater gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
2DescriptionCVE.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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.6. Rated high se
/api/v1/company/upload-logo in CompanyController.php in crater through 6.0.6 allows a superadmin to execute arbitrary PH
Insecure deserialization of not validated module file in GitHub repository crater-invoice/crater prior to 6.0.6. Rated h
Business Logic Errors in GitHub repository crater-invoice/crater prior to 6.0.5. Rated medium severity (CVSS 6.5), this
Cross-company customer record access in Crater 6.0.6 exposes a multi-tenant authorization flaw where any authenticated t
Cross-Site Request Forgery (CSRF) in GitHub repository crater-invoice/crater prior to 6.0.4. Rated medium severity (CVSS
EUVD-2026-41802
GHSA-pjgh-hr58-wj7w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB