CVE-2026-42877
MEDIUM 5.4CVSS 3.1FacturaScripts vulnerable to stored XSS via product reference in sales/purchases
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.
- Published
- 27 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-r736-2678-fcrx
- Sources
- NVDJSONOSV GHSA-r736-2678-fcrxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | facturascripts/facturascripts | <= 2025.92 |
References
- https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-r736-2678-fcrx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42877 · ADVISORY
- https://github.com/NeoRazorX/facturascripts · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 7 May 2026)