Improper Encoding or Escaping of Output Affecting facturascripts/facturascripts package, versions <2026.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-FACTURASCRIPTSFACTURASCRIPTS-17972368
  • published14 Jul 2026
  • disclosed14 Jul 2026
  • creditUnknown

Introduced: 14 Jul 2026

NewCVE-2026-45710  (opens in a new tab)
CWE-116  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade facturascripts/facturascripts to version 2026.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output in the renderVariantList and renderSubaccountList processes, where user-controlled input is inserted into the onclick attribute of a table row after being sanitized with an HTML entity encoding function. An attacker can execute arbitrary JavaScript code in the context of another user's browser by storing specially crafted input that, when decoded by the browser, breaks out of the intended JavaScript string and injects executable code.

CVSS Base Scores

version 4.0
version 3.1