CVE-2026-42877 Details
Description
FacturaScripts is an open source accounting and invoicing software. In 2025.92 and earlier, a stored Cross-Site Scripting (XSS) vulnerability exists in the product search modal of sales (Core/Lib/AjaxForms/SalesModalHTML.php) and purchases documents (Core/Lib/AjaxForms/PurchasesModalHTML.php). An authenticated user with access to the warehouse module can create a product with a malicious reference that executes arbitrary JavaScript in the browser of any other user who opens the product search modal inside an invoice, order, or delivery note.
A stored cross-site scripting vulnerability has been identified in FacturaScripts accounting and invoicing software, affecting versions through 2025.92. The issue resides in the product search modal for sales and purchases documents. An authenticated user with access to the warehouse module can create a product with a malicious reference. This reference executes arbitrary JavaScript in the browser of any other user who opens the product search modal within an invoice, order, or delivery note.
The vulnerability can be fixed by applying proper HTML escaping to the product reference before it is inserted into the 'onclick' attribute of the product search modal. Alternatively, the 'innerHTML' property can be replaced with 'innerText' or a DOM-based rendering approach that does not parse strings as HTML.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 27, 2026CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-r736-2678-fcrx | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-r736-2678-fcrx | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FacturaScripts | <= 2025.92 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 28, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | New CVE Received | [email protected] |
Volerion