Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege account
-
ExploitCraft serialized XLSXWriter object
-
ExecutionSubmit as multiple-select field value
-
ImpactTrigger __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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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
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.
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-92525
GHSA-8rvh-x87q-rm2p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB