Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryInject script into city/province field via ListAlmacen
-
ExploitAdmin views stored warehouse record
-
ExecutionPayload executes, extracts CSRF token
-
ImpactForge privileged request to escalate to administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with at least low privileges that can create or edit warehouse (Almacen) records through the ListAlmacen endpoint, because the payload is injected into the stored 'city' and 'province' fields. Triggering requires a second user - realistically an administrator - to subsequently view the affected warehouse listing (UI:P/UI:R), so the attack is not self-contained and depends on victim interaction. Limiting factors: the attacker cannot be fully unauthenticated (PR:L), the privilege-escalation outcome depends on an administrator being the viewer, and the flaw is specific to FacturaScripts version 2025.61; deployments restricting account creation or warehouse-edit permissions sharply reduce exposure. |
| Impact | This is a moderate-severity stored XSS (CWE-79) with signals that point to a real but conditional, not widespread, threat. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N) indicates a network-reachable, low-complexity attack that nonetheless requires an authenticated low-privileged account (PR:L) and passive victim interaction (UI:P) - so it is not a drive-by, unauthenticated flaw. No EPSS score, CISA KEV listing, or public POC is present in the supplied data, so there is no evidence of active or automated exploitation; by the precision rules this is 'no public exploit identified at time of analysis.' The main elevating factor is the described impact: a stored payload executing in an administrator's browser could hijack the session and escalate from normal user to administrator (consistent with VC:H), which is why the score reaches 6.9 despite the authentication prerequisite. Net assessment: a legitimate priority for organizations that expose FacturaScripts to multiple or untrusted users, but lower urgency where accounts are tightly controlled, because the attacker must already hold a valid low-privilege account and an authenticated admin must view the malicious warehouse record. A patch is available, so remediation is straightforward. |
| Exploit ScenarioDerived | A low-privileged authenticated user saves a warehouse record via the ListAlmacen endpoint with a malicious JavaScript payload embedded in the 'city' or 'province' field. When an administrator later views that warehouse listing, the stored script executes in the admin's browser session, extracting CSRF tokens (even with httpOnly cookies) and issuing requests that elevate the attacker's account to administrator. No public exploit code is identified in the available data, but the technique is standard stored XSS and requires only a valid low-privilege account plus a victim viewing the page. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
Stored cross-site scripting (CWE-79) in FacturaScripts 2025.61 lets authenticated low-privilege users inject JavaScript through the 'city' and 'province' fields handled by the ListAlmacen endpoint, with execution occurring when another user-realistically an administrator-views the affected warehouse listing. Successful exploitation can steal session/CSRF material even when cookies are HttpOnly, or enable privilege escalation from a normal user to administrator; however, the attack is conditional on victim interaction and warehouse-edit access, and no public exploit code was identified at time of analysis. The vendor reports a patch, and the issue is rated moderate severity (CVSS 4.0: 6.9).
RemediationAI
Apply the vendor-released patch/update for FacturaScripts referenced by the INCIBE-CERT advisory (https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-facturascripts); the available data confirms a patch is available from the vendor but does not provide an exact fixed version number, so verify the patched release in the advisory before deployment. Until upgraded, restrict the ability to create or edit warehouse (Almacen) records to trusted, least-privileged users and review existing city/province values for injected markup, because this removes the attacker prerequisite (authenticated low-privilege warehouse-edit access) but may disrupt legitimate warehouse maintenance. Additionally, enforce server-side validation and context-aware output encoding for the city and province fields, and consider a WAF rule targeting script payloads in those parameters as a temporary compensating control, accepting possible false positives and the need for tuning.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a stored/persistent XSS (CWE-79: improper neutralization of input during web page generation) in FacturaScripts, an open-source ERP/accounting application. User-supplied values for the 'city' and 'province' fields in the ListAlmacen warehouse-listing workflow are stored and later rendered without adequate validation or output encoding, so JavaScript supplied by an authenticated low-privilege user executes in the browser of anyone who views the affected listing. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N) both require an authenticated account with warehouse create/edit rights and a second user to trigger the payload; impact is scoped to confidentiality (session/CSRF-token theft), with no direct integrity or availability impact in the assessed vector. The CPE cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:* indicates the FacturaScripts product family, while the advisory ties the issue to version 2025.61.
Know when Facturascripts gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Authenticated low-privilege attacker stores the payload (PR:L) that executes in another user's browser (S:C, UI:R); session/token theft drives C:H while integrity and availability are not directly impacted.
Primary rating from Vendor (INCIBE).
CVSS VectorVendor: INCIBE
DescriptionCVE.org
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).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
More in Facturascripts
View allAccount Takeover in GitHub repository neorazorx/facturascripts prior to 2022.07. Rated critical severity (CVSS 9.8), thi
FacturaScripts is open-source enterprise resource planning and accounting software. [CVSS 8.8 HIGH]
Authenticated users can execute arbitrary SQL commands against FacturaScripts REST API endpoints through unsanitized sor
FacturaScripts versions 2025.71 and earlier contain a stored XSS vulnerability in the Observations field that executes a
Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.06. Rated medium seve
Cross-site Scripting (XSS) - Generic in GitHub repository neorazorx/facturascripts prior to 2022.09. Rated medium severi
Reflected Xss using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.07. Rated medium sever
Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. Ra
Reflected cross-site scripting in FacturaScripts prior to version 2025.8 allows authenticated attackers to inject malici
Cross-site Scripting (XSS) - Stored in GitHub repository neorazorx/facturascripts prior to 2022.06. Rated medium severit
Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.1. Rated medium sever
Stored XSS via upload plugin functionality in zip format in GitHub repository neorazorx/facturascripts prior to 2022.06.
EUVD-2026-104833
GHSA-hm23-2mjw-57qx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB