{"id":"CVE-2026-42877","published":"2026-05-27T18:37:06Z","modified":"2026-05-28T15:15:20Z","title":"FacturaScripts: Stored XSS via product reference in sales/purchases","vendor":"NeoRazorX","product":"facturascripts","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00194,"percentile":0.09293,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-r736-2678-fcrx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":1.86},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"neorazorx","affectedVersions":[{"vendor":"NeoRazorX","product":"facturascripts","versions":["<= 2025.92"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-28T15:13:50.730745Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"facturascripts/facturascripts","vulnerableRanges":["<=2025.92"],"patched":[],"from":["GHSA-r736-2678-fcrx"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-32630","exploited":false,"provenance":"source"}}