Skip to main content

FacturaScripts EUVDEUVD-2026-92525

| CVE-2026-104905 MEDIUM
Deserialization of Untrusted Data (CWE-502)
2026-10-05 VulnCheck GHSA-8rvh-x87q-rm2p
6.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege account
  2. Exploit
    Craft serialized XLSXWriter object
  3. Execution
    Submit as multiple-select field value
  4. Impact
    Trigger __destruct() to delete config.php

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated FacturaScripts session (PR:L) with access to a form rendering a multiple-select field handled by WidgetSelect::processFormData(), which calls unserialize() on raw POST data without an allowed_classes filter. Exploitation further depends on the XLSXWriter class (whose __destruct() performs file deletion) being loadable in the running application - it ships with FacturaScripts, satisfying the gadget requirement. Limiting factors: no anonymous/unauthenticated path (credentials or an account are mandatory), impact is confined to file deletion (DoS and potential reinstall hijack) with no direct data disclosure, and the attacker must know or reach a vulnerable multiple-select field. Affects FacturaScripts versions before 2026.7.

Impact

This is a medium-severity, authenticated vulnerability whose real-world priority is moderate rather than urgent. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) confirms network-reachable but authenticated exploitation (PR:L), meaning an attacker must already hold a valid FacturaScripts account, which substantially narrows the threat population to insiders or attackers with stolen/low-privilege credentials. Impact is skewed toward integrity and availability (VI:H/VA:H) with no confidentiality loss (VC:N), consistent with a file-deletion primitive rather than data theft. No EPSS score, KEV listing, or POC indicator was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation - the risk rating rests on the CVSS signal and the CWE-502 class alone. The AT:P metric signals an attack requirement (a suitable gadget/field condition must be met), which is why the composite score stays at 6.1 despite a serious deserialization-to-file-deletion impact. Net: a legitimate issue worth patching promptly for any multi-user FacturaScripts deployment, but not an emergency given the authentication precondition and absence of exploitation signals. Note that EPSS data is missing, so exploitation-probability cannot be compared against the KEV/POC signals.

Exploit ScenarioDerived

An attacker with a low-privilege authenticated FacturaScripts account submits a form containing a multiple-select field, placing a crafted serialized XLSXWriter PHP object as the field value. When WidgetSelect::processFormData() calls unserialize() without an allowed_classes filter, the object's __destruct() method fires and deletes an attacker-specified file such as config.php. No public exploit was identified in the provided data, but the attack requires only a valid session and knowledge of the vulnerable field.

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

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

Alert me

AnalysisAIv1 – Oct 05, 2026

PHP object injection in FacturaScripts before version 2026.7 allows an authenticated attacker to delete arbitrary files on the server, causing denial of service and potentially enabling a reinstall hijack that resets the application. The flaw is reachable through the multiple-select handling path in WidgetSelect::processFormData(), which passes raw POST data to unserialize() without restricting allowed classes; submitting a crafted serialized XLSXWriter object triggers its __destruct() destructor, which performs the file deletion (config.php and backup data are the notable targets). Exploitation requires a valid authenticated session (CVSS 4.0 vector reports PR:L, so an account is mandatory), and no public exploit code has been identified at time of analysis, so priority is moderate rather than urgent. The vendor has released the fixed 2026.7 version.

RemediationAI

Vendor-released patch: upgrade to FacturaScripts 2026.7, available from https://github.com/NeoRazorX/facturascripts/releases/tag/v2026.7, and consult the vendor advisory at https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-p89j-gj6f-fh6g for the definitive fix details. Until the upgrade can be applied, prioritize the following compensating controls: restrict the number of users who can reach forms containing multiple-select fields handled by WidgetSelect and review that permission set, since the vulnerability cannot be triggered anonymously (PR:L, an authenticated session is mandatory) and reducing the authenticated attack surface directly limits exposure. Where deployment permits, remove or disable the XLSXWriter library so the __destruct() gadget is not loadable, but weigh this against loss of XLSX export functionality in the application. A reverse proxy or WAF rule that rejects POST bodies containing serialized-object markers such as 'O:' followed by a class name in select-field parameters can block the payload at the edge, at the cost of possible false positives on legitimate serialized input and added latency. Enable file-integrity monitoring and alerts on config.php, the application configuration directory, and backup storage so that destructive deletion is detected quickly, and keep offline, read-only backups that cannot be erased through the web process to recover from an attempted reinstall hijack. After any suspected exploitation, rotate credentials and secrets stored in config.php and verify the application was not reinstalled or reconfigured by the attacker.

Affected VersionsENISA

facturascripts 2025.7 <2026.7

Affected Packages

euvd facturascripts fix: 2026.7

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 root cause is CWE-502, Deserialization of Untrusted Data. In FacturaScripts, the widget class WidgetSelect::processFormData() reads the raw POST value of certain form fields - specifically multiple-select fields - and hands it directly to PHP's unserialize() without an allowed_classes allowlist. Because no class restriction is enforced, an attacker who controls the serialized string can instantiate arbitrary classes available in the running application, a classic PHP object injection. The gadget chain here relies on the XLSXWriter class, which ships with FacturaScripts and implements a __destruct() method that deletes files using an attacker-influenced path; PHP invokes destructors automatically when the injected object is garbage-collected at request teardown, giving file deletion with no further interaction. This is a file-destruction gadget rather than a code-execution or data-disclosure primitive, so impact is integrity and availability only (VI:H/VA:H, VC:N/SC:N/SI:N/SA:N in the 4.0 vector). The affected package is captured by the CPE cpe:2.3:a:neorazorx:facturascripts:*:*:*:*:*:*:*:*, i.e. all releases prior to 2026.7, and the vulnerability is attributed to analyst reporting by VulnCheck alongside the vendor's GitHub Security Advisory.

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 (VulnCheck) PRIMARY 6.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.1 HIGH

Network-reachable but needs a low-privilege authenticated account (PR:L); no confidentiality impact (C:N), while arbitrary file deletion gives high integrity and availability impact (I:H/A:H).

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FacturaScripts before version 2026.7 contains a PHP object injection vulnerability in WidgetSelect::processFormData() that allows authenticated attackers to trigger unserialize() on raw POST data without an allowed_classes filter for multiple-select fields. Attackers can submit a serialized XLSXWriter object as the field value to invoke its __destruct() method, deleting arbitrary attacker-specified files such as config.php or backup data, resulting in denial of service and potential application reinstall hijack.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche open-source Spanish ERP/billing app, limited enterprise footprint
Data Quality
7 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.5%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

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

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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