# CVE-2026-45710: FacturaScripts stored XSS in WidgetVariante and WidgetSubcuenta

Source: https://junglewise.ai/threats/cve-2026-45710-facturascripts-stored-xss-in-widgetvariante-and-widgetsubcuenta  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-14. Updated: 2026-07-14  
License: CC BY 4.0 with a link back

CVE-2026-45710 · Severity: low · CVSS 3.5 · Published 2026-07-14

FacturaScripts, an open-source ERP and CRM, is vulnerable to a security flaw where malicious code can be stored in product or account fields. When an administrative user interacts with certain selection menus (widgets), this code executes in their browser. This could allow a low-privileged user to steal session information or perform actions on behalf of an administrator.

Technologies: [NeoRazorX FacturaScripts](https://junglewise.ai/threats/technologies/facturascripts), [facturascripts/facturascripts (Packagist)](https://junglewise.ai/threats/technologies/facturascripts-facturascripts). Vendors: [NeoRazorX](https://junglewise.ai/threats/vendors/neorazorx), [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-45710 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45710 being exploited in the wild.

**How severe is CVE-2026-45710?** Low severity, with a CVSS score of 3.5, published 14 July 2026.

**Which products and versions are affected?** NeoRazorX FacturaScripts <= 2026.1; facturascripts/facturascripts (Packagist) <= 2026.1, ECOSYSTEM:introduced=0,last_affected=2026.1.

**Is there a fix for CVE-2026-45710?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-45710 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-45710?** Check whether you run NeoRazorX FacturaScripts or facturascripts/facturascripts (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A Stored XSS vulnerability exists in FacturaScripts <= 2026.1 within `WidgetVariante::renderVariantList` and `WidgetSubcuenta::renderSubaccountList`. The application attempts to sanitize input using `Tools::noHtml`, which converts quotes to HTML entities (e.g., &#39;). However, because these values are placed inside an HTML `onclick` attribute, the browser decodes the entities before the JavaScript is executed, allowing an attacker to break out of the string literal and execute arbitrary JS. Attackers can plant payloads via product references or subaccount codes through the UI, API, or direct database access. The vulnerability is triggered when a user opens a modal containing the malicious entry and clicks the affected row.

## Affected products

- NeoRazorX facturascripts <= 2026.1

## Identifiers

- CVE-2026-45710
- GHSA-3x7p-v8hj-xh5m

## Timeline

- 2026-07-14: advisory: GHSA-3x7p-v8hj-xh5m published

## References

- [https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-3x7p-v8hj-xh5m](https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-3x7p-v8hj-xh5m)
- [https://api.github.com/repos/NeoRazorX/facturascripts/security-advisories/GHSA-3x7p-v8hj-xh5m](https://api.github.com/repos/NeoRazorX/facturascripts/security-advisories/GHSA-3x7p-v8hj-xh5m)

## Related threats

- [FacturaScripts PHP object injection in WidgetSelect](https://junglewise.ai/threats/cve-2026-104905-facturascripts-before-version-2026-7-contains-a-php-object)
- [FacturaScripts path traversal and RCE in UploadedFile move](https://junglewise.ai/threats/facturascripts-path-traversal-and-rce-in-uploadedfile-move-40e5093b)
- [FacturaScripts CSV formula injection in CSVExport](https://junglewise.ai/threats/cve-2026-45263-facturascripts-csv-formula-injection-in-csvexport)
- [FacturaScripts path traversal in static file controllers](https://junglewise.ai/threats/cve-2026-45693-facturascripts-path-traversal-in-static-file-controllers)
- [FacturaScripts SQL injection in REST API filter parameter](https://junglewise.ai/threats/cve-2026-45262-facturascripts-sql-injection-in-rest-api-filter-parameter)
