CVE-2025-69210: FacturaScripts is Vulnerable to Stored Cross-Site Scripting (XSS) via XML File Upload
A stored cross-site scripting (XSS) vulnerability exists in the product file upload functionality. Authenticated users can upload crafted XML files containing executable JavaScript. These files are later rendered by the application without sufficient sanitization or content-type enforcement, allowing arbitrary JavaScript execution when the file is accessed.
Published Dec 30, 2025 · Updated Jan 2, 2026
Affected packages
facturascripts/facturascripts
- Ecosystem
- Composer (PHP)
- Affected
- <= 2025.4
- Fixed in
- 2025.7
- Check
composer show facturascripts/facturascripts
facturascripts/facturascripts
- Ecosystem
- Composer (PHP)
- Affected
- = 2025.11
- Fixed in
- No patched version yet
- Check
composer show facturascripts/facturascripts
facturascripts/facturascripts
- Ecosystem
- Composer (PHP)
- Affected
- = 2025.41
- Fixed in
- No patched version yet
- Check
composer show facturascripts/facturascripts
facturascripts/facturascripts
- Ecosystem
- Composer (PHP)
- Affected
- = 2025.43
- Fixed in
- No patched version yet
- Check
composer show facturascripts/facturascripts
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A stored cross-site scripting (XSS) vulnerability exists in the product file upload functionality.
Authenticated users can upload crafted XML files containing executable JavaScript. These files are later rendered by the application without sufficient sanitization or content-type enforcement, allowing arbitrary JavaScript execution when the file is accessed.
Because product files uploaded by regular users are visible to administrative users, this vulnerability can be leveraged to execute malicious JavaScript in an administrator’s browser session.
Credited to vettrivel007.
References
- https://github.com/NeoRazorX/facturascripts/security/advisories/GHSA-2267-xqcf-gw2m
- https://github.com/NeoRazorX/facturascripts/commit/e908ade21c84bdc9d51190057482316730c66146
- https://nvd.nist.gov/vuln/detail/CVE-2025-69210
- https://facturascripts.com/publicaciones/ya-disponible-facturascripts-2025-7
- https://github.com/NeoRazorX/facturascripts/releases/tag/v2025.7
- https://github.com/advisories/GHSA-2267-xqcf-gw2m
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-45262
FacturaScripts: Authenticated SQL injection in the FacturaScripts REST API filter parameter via parenthesis bypass in `Where::sqlColumn`
critical9.9Jul 14, 2026CVE-2026-45263
FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export
high8.0Jul 14, 2026CVE-2026-45693
FacturaScripts: Unauthenticated Path Traversal in Static File Controllers Reads Private MyFiles Documents
high7.5No fixJul 14, 2026CVE-2026-45710
FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`
low3.5Jul 14, 2026CVE-2026-77526
FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to RCE
critical9.9Jul 14, 2026CVE-2026-47677
FacturaScripts: Account takeover of any 2FA-enabled user
critical9.3Jul 13, 2026
