Home › CVE › JavaScript
CVE-2026-45710 — NeoRazorX facturascripts
One of 8 NeoRazorX facturascripts vulnerabilities published together by NVD: our article covers all of them.
JavaScriptPHPWebBrowsersVulnerabilitiesSummary
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, WidgetVariante::renderVariantList (Core/Lib/Widget/WidgetVariante.php:298-330) and WidgetSubcuenta::renderSubaccountList (Core/Lib/Widget/WidgetSubcuenta.php:290-321) build the row for each modal hit by concatenating the user-controlled referencia / codsubcuenta field directly into a single-quoted JavaScript string literal inside an HTML onclick attribute. The defender's intuition is that Tools::noHtml (called in Variante::test() and Subcuenta::test()) replaces ' with the HTML entity ', neutralising the JavaScript string break. The intuition is wrong: HTML attribute parsing decodes character references before the JavaScript fragment is parsed, so ' becomes a literal ' in the JavaScript context. An attacker who can store a value such as 1',alert(1),'2 in Variante.referencia (no special characters required, just one apostrophe) ends up with widgetVarianteSelect('id', '1',alert(1),'2'); executing in any user's browser the moment they open the variant-picker modal. This issue has been patched in version 2026.2.
Severity breakdown
Low · 3.5
An attacker with administrator rights can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, an administrator account
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-116: Improper Encoding or Escaping of Output
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| NeoRazorX facturascripts | < 2026.2 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- NeoRazorX facturascripts
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-45710?
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, WidgetVariante::renderVariantList (Core/Lib/Widget/WidgetVariante.php:298-330) and WidgetSubcuenta::renderSubaccountList (Core/Lib/Widget/WidgetSubcuenta.php:290-321) build the row for each modal hit by concatenating the user-controlled referencia / codsubcuenta field directly into a single-quoted JavaScript string literal… Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-45710?
CVE-2026-45710 has a CVSS 3.1 base score of 3.5 (low), from the CNA (github.com). An attacker with administrator rights can exploit this over the network if a user is tricked into an action.
Is CVE-2026-45710 being exploited?
Not as far as is known: CVE-2026-45710 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-45710?
NeoRazorX facturascripts < 2026.2.
How do I fix CVE-2026-45710?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.
Timeline & sources
References
Related vulnerabilities & news
- Aikido Flags Stored XSS in Unreleased WordPress 7.2-alpha Development Build, Reverted Before Release
- NukeViet CMS Comment Module Allows Cross-site Scripting via Unescaped Input
- CVE-2026-144337 — osTicket
- Patchstack Bug Bounty Expands Beyond WordPress to JavaScript and npm
- CVE-2026-136330 — joomlacontenteditor.net Joomla Content Editor (JCE) extension for Joomla