{"items":[{"id":"NVI-00006248","kind":"vulnerability","title":"FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3x7p-v8hj-xh5m","CVE-2026-45710"],"plain_summary":"GitHub lists this reviewed advisory for facturascripts/facturascripts. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-63da722dcbe0029ffa417e8976281111"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"The original advisory lists fixed boundaries 2026.2 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-d8cf98ae8c1f44b5977f455823f82173"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-14T17:30:26.000Z","value":"3.5 low","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-63da722dcbe0029ffa417e8976281111"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-63da722dcbe0029ffa417e8976281111","url":"https://github.com/advisories/GHSA-3x7p-v8hj-xh5m","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3x7p-v8hj-xh5m","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T23:34:12.429Z"},{"id":"sr-d8cf98ae8c1f44b5977f455823f82173","url":"https://github.com/advisories/GHSA-3x7p-v8hj-xh5m","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3x7p-v8hj-xh5m","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-11-07T00:51:52.009Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-63da722dcbe0029ffa417e8976281111"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`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 `&#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.\n\nThe recent `40bc701` and `8586b97` fixes corrected the same anti-pattern in three sister classes by switching to `data-reference=\"...\"` + `this.","public_affected_ranges":["<= 2026.1"]},{"certainty":"source_listed","source_ids":["sr-d8cf98ae8c1f44b5977f455823f82173"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`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 `&#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.\n\nThe recent `40bc701` and `8586b97` fixes corrected the same anti-pattern in three sister classes by switching to `data-reference=\"...\"` + `this.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2026.2"]}],"null_published_at":"2026-11-08T08:10:32.015Z","source_updated_at":"2026-07-14T17:30:26.000Z","source_disclosed_at":"2026-07-14T17:30:26.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.661Z"},{"id":"NVI-00006248","kind":"vulnerability","title":"FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3x7p-v8hj-xh5m","CVE-2026-45710"],"plain_summary":"GitHub lists this reviewed advisory for facturascripts/facturascripts. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-ad416170a4079efd2531cafc4b4dbf74"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-14T17:30:26.000Z","value":"3.5 low","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-63da722dcbe0029ffa417e8976281111"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-63da722dcbe0029ffa417e8976281111","url":"https://github.com/advisories/GHSA-3x7p-v8hj-xh5m","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3x7p-v8hj-xh5m","publisher":"GitHub Advisory Database","observed_at":"2026-11-04T23:34:12.429Z"},{"id":"sr-ad416170a4079efd2531cafc4b4dbf74","url":"https://github.com/advisories/GHSA-3x7p-v8hj-xh5m","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3x7p-v8hj-xh5m","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.661Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-63da722dcbe0029ffa417e8976281111"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`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 `&#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.\n\nThe recent `40bc701` and `8586b97` fixes corrected the same anti-pattern in three sister classes by switching to `data-reference=\"...\"` + `this.","public_affected_ranges":["<= 2026.1"]},{"certainty":"source_listed","source_ids":["sr-ad416170a4079efd2531cafc4b4dbf74"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`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 `&#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.\n\nThe recent `40bc701` and `8586b97` fixes corrected the same anti-pattern in three sister classes by switching to `data-reference=\"...\"` + `this.","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 2026.1"]}],"null_published_at":"2026-11-05T19:10:21.467Z","source_updated_at":"2026-07-14T17:30:26.000Z","source_disclosed_at":"2026-07-14T17:30:26.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:41:49.661Z"},{"id":"NVI-00006248","kind":"vulnerability","title":"FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3x7p-v8hj-xh5m","CVE-2026-45710"],"plain_summary":"OSV carries this publisher advisory for facturascripts/facturascripts. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-ad416170a4079efd2531cafc4b4dbf74"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-ad416170a4079efd2531cafc4b4dbf74","url":"https://github.com/advisories/GHSA-3x7p-v8hj-xh5m","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3x7p-v8hj-xh5m","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.661Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-ad416170a4079efd2531cafc4b4dbf74"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`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 `&#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.\n\nThe recent `40bc701` and `8586b97` fixes corrected the same anti-pattern in three sister classes by switching to `data-reference=\"...\"` + `this.","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 2026.1"]}],"null_published_at":"2026-10-31T22:13:05.877Z","source_updated_at":"2026-07-28T05:30:29.715Z","source_disclosed_at":"2026-07-14T17:30:26.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:49.661Z"}],"next_cursor":null,"snapshot_revision":"42594"}