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.
Published: 2026-07-06
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

This vulnerability is located in the getFormattedString method of the Invoice Note Handler within crater. By manipulating the notes argument, an attacker can inject arbitrary JavaScript that is later rendered when the note is viewed, creating a client‑side script execution flaw. The weakness classifies as a cross‑site scripting issue (CWE‑79) combined with a potential code‑injection context (CWE‑94), enabling attacks such as cookie theft, session hijacking, and malicious content injection.

Affected Systems

Crater (crater‑invoice‑inc:crater) released up to and including version 6.0.6 is affected. The issue remains present in the latest public release available at the time of analysis and has not yet been patched by the maintainers.

Risk and Exploitability

The CVSS score of 5.1 places this flaw in the moderate severity range, while the EPSS score of less than 1 % indicates a low likelihood of exploitation and it is not listed in the CISA KEV catalog. Remote attackers can trigger the vulnerability by submitting a crafted notes field, and the malicious payload is executed in any victim’s browser upon viewing the note. The impact is limited to compromised client machines unless the attacker can achieve further privilege escalation.

Generated by OpenCVE AI on July 23, 2026 at 15:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade crater to a version newer than 6.0.6 or apply any vendor‑provided patch that sanitizes note input.
  • Enforce input sanitization on the notes field, removing or encoding HTML elements before storage.
  • Implement output escaping or safe rendering for note content to neutralise any scripts that slip through.

Generated by OpenCVE AI on July 23, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 06 Jul 2026 03:00:00 +0000

Type Values Removed Values Added
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.
Title crater-invoice-inc crater Invoice Note InvoicesRequest.php getFormattedString cross site scripting
First Time appeared Crater-invoice-inc
Crater-invoice-inc crater
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:crater-invoice-inc:crater:*:*:*:*:*:*:*:*
Vendors & Products Crater-invoice-inc
Crater-invoice-inc crater
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': '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'}


Subscriptions

Crater-invoice-inc Crater
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-06T13:28:29.426Z

Reserved: 2026-07-05T18:16:17.170Z

Link: CVE-2026-14791

cve-icon Vulnrichment

Updated: 2026-07-06T13:28:24.918Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-23T15:30:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')