Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-45710— FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`

Quick assessment

Affected
NeoRazorX facturascripts
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FacturaScripts 是一款开源的会计与发票管理软件。在 2026.2 版本之前,WidgetVariante::renderVariantList(Core/Lib/Widget/WidgetVariante.php:298-330)和 WidgetSubcuenta::renderSubaccountList(Core/Lib/Widget/WidgetSubcuenta.php:290-321)在构建每个模态框中命中的 <tr onclick="..."> 行时,将用户可控的 referencia /

CVSS 3.5 · Low
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45710

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`
Source: CVE Program / CVE List V5
Vulnerability Description
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 <tr onclick="..."> 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 &#39;, neutralising the JavaScript string break. The intuition is wrong: HTML attribute parsing decodes character references before the JavaScript fragment is parsed, so &#39; 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
NeoRazorX facturascripts < 2026.2 -

II. Public POCs for CVE-2026-45710

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45710

请登录查看更多情报信息。

Other References for CVE-2026-45710 (2)

Same Patch Batch · NeoRazorX · 2026-12-04 · 8 CVEs total

CVE-2026-45262 9.9 CRITICAL FacturaScripts: Authenticated SQL injection in the REST API filter parameter via parenthes
CVE-2026-77526 9.9 CRITICAL FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbit
CVE-2026-47677 9.3 CRITICAL FacturaScripts: account takeover of any 2FA-enabled user
CVE-2026-45263 8.0 HIGH FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to
CVE-2026-45693 7.5 HIGH FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private My
CVE-2026-77529 4.8 MEDIUM FacturaScripts: Stored XSS via EmailSentHtml client-side regex sanitizer that admins can b
CVE-2026-77530 4.3 MEDIUM FacturaScripts: ListCuenta restore-special account mapping lacks authorization re-check an

IV. Related Vulnerabilities