Skip to main content
Public proof of conceptFix availableAwaiting NVD analysis

CVE-2026-45263

FacturaScripts: CSV formula injection in CSVExport allows authenticated low-priv users to plant payloads that execute when an admin opens the export

A public proof of concept exists; no exploitation attested.

  • Published2026-12-04
  • Fixed in2026.2
  • WeaknessCWE-1236

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Lib/Export/CSVExport.php::writeData() wraps every cell in the configured delimiter (") and concatenates without inspecting the first character of the value. Spreadsheet applications interpret a cell that starts with =, +, -, @, \t, or \r as a formula. Because FacturaScripts only sanitises HTML metacharacters (< > " ') on save via Tools::noHtml() (Core/Tools.php:45), the formula prefix characters survive untouched all the way to the export. The downstream consumer is the admin who triggered the export, giving the attacker a reliable handoff: low-priv user plants a payload in any text field that ships in the default list export, admin downloads the CSV (all normal billing/sales/purchasing workflow), and the admin's spreadsheet client runs the formula in the admin's local context. This issue has been patched in version 2026.2.

Timeline

dates in UTC
  1. 2026-12-0417:14CVE publishedCNA

Versions per branch

OSV
facturascripts/facturascripts
BranchAffectedFixed in
2026.2< 2026.22026.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • NeoRazorX facturascripts
    Affected
    • = < 2026.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-12-04

Fix

  1. Update facturascripts/facturascripts to 2026.2

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-12-04
  • CNACVSS 3.182026-12-04
  • CNAweakness (CWE)CWE-12362026-12-04
  • NVDweakness (CWE)CWE-1236read 2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-07-14

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published
2026-12-04
Last modified
2026-12-04
NVD status
Received
GitHub advisory
GHSA-2p5x-4jr6-x5jg

Frequently asked questions

What is CVE-2026-45263?

FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Lib/Export/CSVExport.php::writeData() wraps every cell in the configured delimiter (") and concatenates without inspecting the first character of the value. Spreadsheet applications interpret a cell that starts with =, +, -, @, \t, or \r as a formula. Because FacturaScripts only sanitises HTML metacharacters (< > " ') on save via Tools::noHtml() (Core/Tools.php:45), the formula prefix characters survive untouched all the way to the export. The downstream consumer is the admin who triggered the export, giving the attacker a reliable handoff: low-priv user plants a payload in any text field that ships in the default list export, admin downloads the CSV (all normal billing/sales/purchasing workflow), and the admin's spreadsheet client runs the formula in the admin's local context. This issue has been patched in version 2026.2.

Is CVE-2026-45263 actively exploited?

A proof-of-concept exploit exists for CVE-2026-45263, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-45263?

CVE-2026-45263 has a CVSS v3 base score of 8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.

Running facturascripts/facturascripts? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record