Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-45710
Published:July 14, 2026
Updated:August 27, 2026
"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. The recent "40bc701" and "8586b97" fixes corrected the same anti-pattern in three sister classes by switching to "data-reference="..."" + "this.dataset.reference". The two widget classes audited here were missed by that fix wave.
Do you need more information?
Contact Us
CVSS v4
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Encoding or Escaping of Output
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')