Description
Stored Cross-Site Scripting (XSS) in FacturaScripts, version 2025.61, caused by a lack of adequate validation or sanitisation of user input in the ‘city’ and ‘province’ fields in the ‘ListAlmacen’ endpoint. Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim’s browser (the application user) or to escalate privileges from a normal user to an administrator by executing specially crafted JavaScript code, thereby compromising the system’s confidentiality or hijacking the session (even with httpOnly cookies by extracting CSRF tokens).
Published: 2026-10-20
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS with potential privilege escalation
Action: Immediate Patch
AI Analysis

Impact

FacturaScripts 2025.61 contains a stored Cross‑Site Scripting flaw arising from inadequate validation of the ‘city’ and ‘province’ fields in the ListAlmacen endpoint. By inserting malicious JavaScript, an attacker can execute arbitrary code in the victim’s browser, potentially hijacking the session or elevating a normal user to administrator status by retrieving CSRF tokens, even when httpOnly cookies are in use. This vulnerability falls under OWASP CWE‑79 and can compromise confidentiality and integrity of the system.

Affected Systems

All installations of FacturaScripts version 2025.61, and any earlier releases that include the same ListAlmacen implementation, are affected. The vulnerability is specific to the city/province data handling routines in the listed endpoint.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate impact, while the EPSS score of less than 1% suggests a low likelihood of exploitation in the wild. The flaw is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is via web input to the ListAlmacen endpoint; however, this inference is made because the official description does not explicitly detail the attack path.

Generated by OpenCVE AI on October 20, 2026 at 15:50 UTC.

Remediation

Vendor Solution

Update to commit llowing commits: https://github.com/NeoRazorX/facturascripts/commit/aa728f642b467bb73bf183067912bd97536d06a6


OpenCVE Recommended Actions

  • Update FacturaScripts to the patched commit at https://github.com/NeoRazorX/facturascripts/commit/aa728f642b467bb73bf183067912bd97536d06a6
  • If a patch is not yet available, enforce strict input validation or sanitisation on the city and province fields to strip script tags and other executable content
  • Ensure that CSRF tokens are validated server‑side and that session cookies are secured with the httpOnly and secure flags to mitigate session hijacking

Generated by OpenCVE AI on October 20, 2026 at 15:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Facturascripts
Facturascripts facturascripts
Vendors & Products Facturascripts
Facturascripts facturascripts

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description Stored Cross-Site Scripting (XSS) in FacturaScripts, version 2025.61, caused by a lack of adequate validation or sanitisation of user input in the ‘city’ and ‘province’ fields in the ‘ListAlmacen’ endpoint. Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the victim’s browser (the application user) or to escalate privileges from a normal user to an administrator by executing specially crafted JavaScript code, thereby compromising the system’s confidentiality or hijacking the session (even with httpOnly cookies by extracting CSRF tokens).
Title Multiple vulnerabilities in FacturaScripts
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Facturascripts Facturascripts
cve-icon MITRE

Status: PUBLISHED

Assigner: INCIBE

Published:

Updated: 2026-10-20T15:54:13.922Z

Reserved: 2026-06-11T07:47:53.390Z

Link: CVE-2026-11959

cve-icon Vulnrichment

Updated: 2026-10-20T15:54:09.811Z

cve-icon NVD

Status : Received

Published: 2026-10-20T09:17:09.700

Modified: 2026-10-20T16:17:13.653

Link: CVE-2026-11959

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T16:00:16Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')