Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-45710 — NeoRazorX facturascripts

Low · CVSS 3.5 First seen December 04, 2026

One of 8 NeoRazorX facturascripts vulnerabilities published together by NVD: our article covers all of them.

JavaScriptPHPWebBrowsersVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Low · 3.5 CVSS 3.1 base score from the CNA (github.com)

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

Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N

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

ProductAffected versionsFixed in
NeoRazorX facturascripts< 2026.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

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