Skip to main content

FacturaScripts EUVDEUVD-2026-104833

| CVE-2026-11959 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-10-20 INCIBE GHSA-hm23-2mjw-57qx
6.9
CVSS 4.0 · Vendor: INCIBE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Inject script into city/province field via ListAlmacen
  3. Exploit
    Admin views stored warehouse record
  4. Execution
    Payload executes, extracts CSRF token
  5. Impact
    Forge 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

facturascripts 2025.61

Affected Packages

euvd facturascripts no fix

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

Vendor (INCIBE) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (INCIBE).

CVSS VectorVendor: INCIBE

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche open-source Spanish ERP/billing app, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2022-1715 CRITICAL POC
9.8 May 13

Account Takeover in GitHub repository neorazorx/facturascripts prior to 2022.07. Rated critical severity (CVSS 9.8), thi

CVE-2026-25514 HIGH POC
8.8 Feb 04

FacturaScripts is open-source enterprise resource planning and accounting software. [CVSS 8.8 HIGH]

CVE-2026-25513 HIGH POC
8.8 Feb 04

Authenticated users can execute arbitrary SQL commands against FacturaScripts REST API endpoints through unsanitized sor

CVE-2026-23997 HIGH POC
8.0 Feb 02

FacturaScripts versions 2025.71 and earlier contain a stored XSS vulnerability in the Observations field that executes a

CVE-2022-2066 MEDIUM POC
6.1 Jun 13

Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.06. Rated medium seve

CVE-2022-1988 MEDIUM POC
6.1 Jun 03

Cross-site Scripting (XSS) - Generic in GitHub repository neorazorx/facturascripts prior to 2022.09. Rated medium severi

CVE-2022-1682 MEDIUM POC
6.1 May 12

Reflected Xss using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.07. Rated medium sever

CVE-2022-1571 MEDIUM POC
6.1 May 04

Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. Ra

CVE-2026-23476 MEDIUM POC
5.4 Feb 02

Reflected cross-site scripting in FacturaScripts prior to version 2025.8 allows authenticated attackers to inject malici

CVE-2022-2065 MEDIUM POC
5.4 Jun 13

Cross-site Scripting (XSS) - Stored in GitHub repository neorazorx/facturascripts prior to 2022.06. Rated medium severit

CVE-2022-2016 MEDIUM POC
5.4 Jun 09

Cross-site Scripting (XSS) - Reflected in GitHub repository neorazorx/facturascripts prior to 2022.1. Rated medium sever

CVE-2022-1514 MEDIUM POC
5.4 Apr 28

Stored XSS via upload plugin functionality in zip format in GitHub repository neorazorx/facturascripts prior to 2022.06.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy