Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › PHP

CVE-2026-45262 — NeoRazorX facturascripts

Critical · CVSS 9.9 First seen December 04, 2026

One of 8 NeoRazorX facturascripts vulnerabilities published together by NVD: our article covers all of them.

PHPWebDatabasesVulnerabilities

Research article

FacturaScripts SQL Injection via API Filter Field Names Enables Data Disclosure (CVE-2026-45262)

CVECVE-2026-45262
Vendor and productNeoRazorX facturascripts
PublishedDecember 04, 2026 17:50 UTC
Research cut-offDecember 04, 2026 17:45 UTC
Sources reviewed2: NVD record (last modified 2026-12-04); CISA KEV catalog

Executive summary

CVE-2026-45262 is an SQL injection flaw in FacturaScripts, an open source accounting and invoicing application, in which field names taken from API filter parameters are not escaped when they contain parentheses [1]. The NVD record scores it CVSS 3.1 9.9 CRITICAL with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, as scored by GitHub as a Secondary scorer [1]. The vendor-published affected range is versions before 2026.2, and the record states the issue is patched in 2026.2 [1]. Per the record, an attacker holding low privileges over the network can reach the API filter builders and read arbitrary columns from other tables, including user data [1, 1]. The CVSS vector also scores integrity and availability impact as high, but the record describes only data disclosure [1]. CISA's Known Exploited Vulnerabilities catalog did not list the CVE as of 2026-12-04, which is not evidence that it has not been exploited [2]. The most important immediate action is to upgrade every FacturaScripts instance to 2026.2 or later and to restrict API access to trusted clients until that upgrade is confirmed [1].

Key points

  • CVE-2026-45262 is an SQL injection flaw in FacturaScripts before 2026.2, where API filter field names containing parentheses bypass identifier escaping [1].
  • The NVD record scores it CVSS 3.1 9.9 CRITICAL with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H [1].
  • The record describes arbitrary column disclosure from any table, with a low-privilege network attacker as the implied prerequisite [1].
  • The record states the issue is patched in 2026.2 [1].
  • CISA's KEV catalog did not list the CVE as of 2026-12-04; this is not evidence of non-exploitation [2].

Vulnerability identification

FieldValue
CVE IDCVE-2026-45262 [1]
VendorNeoRazorX [1]
ProductFacturaScripts, an open source accounting and invoicing application [1]
ComponentCore/Where.php (function sqlColumn()) and the API filter builders APIModel::getWhereValues and ApiAttachedFiles::getWhereValues [1]
Published2026-12-04T17:19:57 [1]
Last modified2026-12-04T17:19:57 [1]
Record statusReceived [1]
CWECWE-89, Improper Neutralization of Special Elements used in an SQL Command (SQL Injection); CWE-918, Server-Side Request Forgery [1]
CVSS 3.1 base score9.9 CRITICAL, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, scored by security-advisories@github.com as Secondary [1]
Related referencesA GitHub Security Advisory and the release tag v2026.2, both listed in the record [1]

CWE-89 matches the record's description, which concerns unescaped text reaching an SQL statement [1]. The CWE-918 mapping, which describes server-side request forgery, has no counterpart in the record's description [1]. This is an analyst assessment: the CWE-918 mapping appears inconsistent with the described behaviour.

Vulnerability description

The flaw breaks the security property that user-supplied input must not change the structure of a database query. Core/Where.php::sqlColumn() normally escapes identifiers, but it exempts any field name that contains both an opening and a closing parenthesis [1]. The two API filter builders pass the raw key from the request's filter parameter directly into a new condition object, so an attacker-controlled key reaches SQL generation without escaping [1]. When the model's all() method runs, the unescaped key is concatenated into a WHERE clause [1].

According to the record, the result is that an attacker can use a crafted key to pivot the query and leak arbitrary columns from any table [1]. The record uses a users table as its example target [1]. Read access to account data is therefore the demonstrated consequence. The record does not describe writes, data modification or service disruption, although the vector scores those impacts as high [1].

The conditions that make the flaw matter are an exposed API endpoint that uses these filter builders, and a caller able to send the request with a filter key containing parentheses [1]. The record shows the fix in version 2026.2 but does not describe the exact code change [1].

Attack surface and exploitation prerequisites

PrerequisiteBasis
Network reachabilityAttack vector N (network) from the vector [1]; the flaw is reached through the API filter parameter, so the API endpoint must be reachable by the attacker (analyst assessment)
Adjacent, local or physical accessNot required according to the attack vector N [1]
Authentication and privilegePrivileges required L (low) from the vector [1]; this is known only from the vector, and the record does not name the account role needed
User interactionNone, according to UI:N in the vector [1]
ConfigurationThe affected API filter builders must be reachable [1]
ScopeChanged (S:C) in the vector, meaning the score treats impact as possibly extending beyond the vulnerable component [1]

The prerequisite list above is derived from the CVSS vector and the record's description. The CVSS vector alone does not prove that the vulnerable endpoint is enabled or that a low-privileged account can reach it in a given deployment.

Impact analysis

AreaAssessment
ConfidentialityHigh according to C:H in the vector [1]; the record describes reading arbitrary columns from any table, so this is the demonstrated impact [1]
IntegrityHigh according to I:H in the vector [1]; not described in the record
AvailabilityHigh according to A:H in the vector [1]; not described in the record
Authentication and authorizationThe flaw lets the attacker read data from tables beyond the filtered model, so the intended access boundary of the filter is bypassed [1] (analyst assessment)
Data and privacyThe record names a users table as an example target [1]; accounts and personal data held in the database are therefore the most likely exposed data (analyst assessment)
Business operations and regulationConsequences depend on the data held in each deployment; the pack does not address these (analyst assessment)

Affected products and versions

VendorProductAffected versionsFixed versionSource and qualification
NeoRazorXFacturaScriptsEarlier than 2026.2 [1]2026.2 [1]CVE record, with the affected range published by the CVE Numbering Authority; the record references the v2026.2 release tag [1]

The affected range is taken from the CVE record and the fixed version from the record's description [1]. No other source in the pack gives version data.

Exploitation and threat intelligence status

CISA's Known Exploited Vulnerabilities catalog did not list CVE-2026-45262 as of 2026-12-04 [2]. The catalog's status is not evidence that the flaw has not been exploited [2]. The record lists no public proof-of-concept references, only the vendor's release tag and security advisory [1]. The pack contains no threat actor, campaign or sector attribution. Exploitation in the wild is not established by the reviewed sources.

Detection and exposure assessment

  1. Inventory: record every FacturaScripts installation and its version, and identify each instance with a version earlier than 2026.2 [1].
  2. Exposure: determine whether the API endpoints that use the two filter builders are reachable from networks the attacker could use (analyst assessment based on the record's description [1]).
  3. Logs: review web server and application logs for API requests whose filter parameter keys contain both an opening and a closing parenthesis (analyst assessment; the record describes this as the trigger condition [1]).
  4. A version at or above 2026.2 indicates the vendor's patched release [1], but it does not prove that a system was never exploited, and a version earlier than 2026.2 does not prove that it was.

Remediation

Immediate mitigation: until the upgrade is verified, restrict network access to the API so that only trusted clients can send requests. This control follows from the attack vector and the API-based path described in the record [1] (analyst assessment; the pack contains no vendor-documented workaround). Verify it by sending a request to the API from an address outside the allow list and confirming that the connection is refused.

Permanent fix: upgrade FacturaScripts to version 2026.2 or later [1]. The vendor's release tag v2026.2 is referenced in the record [1]. After the upgrade, confirm the installed version is 2026.2 or later. The record describes the fix as a patch in 2026.2 [1]; the vendor's confirmation of the exact change is not in the pack.

Remediation checklist

  1. Inventory every FacturaScripts installation and record its version; flag all instances earlier than 2026.2 [1].
  2. Upgrade each flagged instance to FacturaScripts 2026.2 or later using the vendor release v2026.2 referenced in the record [1].
  3. Confirm the upgrade by checking that the installed version reads 2026.2 or later on each instance [1].
  4. Until the upgrade is verified, restrict network access to the FacturaScripts API to trusted clients and verify that requests from other addresses are refused (analyst assessment).
  5. Review web server and application logs for API requests whose filter keys contain both parentheses, and treat matches as suspicious (analyst assessment based on [1]).
  6. If matching requests are found, review the records returned for the affected API calls, and rotate credentials for any account that made them (analyst assessment).
  7. Check the CVSS 3.1 vector and CWE mapping against the vendor advisory when it is reviewed, because the CWE-918 mapping does not match the description [1].

Evidence gaps

  • Vendor advisory text and code change: not in the pack; needed to confirm the root cause and the exact fix in version 2026.2, including whether both API filter builders are patched.
  • Required account role and whether the API is enabled by default: not in the pack; needed from the vendor documentation or a configuration review to confirm the privilege level.
  • Full NVD CPE configuration and platform details: not in the pack; needed to confirm the affected configurations beyond the vendor-published range.
  • Exploitation evidence, public proof-of-concept references and EPSS score: not in the pack; needed from exploit repositories, threat intelligence and the FIRST EPSS feed.
  • Indicators of compromise: none provided; needed from the vendor advisory or incident reports to build log detection.
  • Method to read the installed FacturaScripts version: not in the pack; needed from the vendor documentation to run the version check.
  • Explanation for the CWE-918 mapping: not in the pack; needed from NVD analysis or the vendor advisory to confirm whether any request forgery behaviour exists.
  • NVD analysis: the record status is Received, so NVD scoring and mappings may change; needed from a later NVD record revision.

References

  1. CVE-2026-45262 record. NIST National Vulnerability Database (NVD), 2026-12-04. https://nvd.nist.gov/vuln/detail/CVE-2026-45262. Accessed 2026-12-04. CVE identity, record status and dates, official description, CVSS 3.1 score and vector with scorer, CWE mappings, vendor-published affected range (earlier than 2026.2), fixed version 2026.2, the release tag and advisory references, and the attack vector, privilege and user-interaction prerequisites
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-04. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-04. CISA KEV status: CVE-2026-45262 not listed as of 2026-12-04, with the caveat that this is not evidence it has not been exploited

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, Core/Where.php::sqlColumn() exempts any field name that contains both ( and ) from identifier escaping. The two API filter builders (APIModel::getWhereValues and ApiAttachedFiles::getWhereValues) feed the raw request key ($_GET['filter'][$key]) straight into new DataBaseWhere($key, $value, '=', ...). When the model's all() reaches Where::multiSqlLegacy -> Where::sql() -> Where::sqlColumn($key), the parenthesis branch returns the attacker-controlled string unmodified. The string is concatenated into WHERE = ' ', which an attacker can pivot to WHERE (0)UNION SELECT ... FROM users WHERE(nick='admin')-- = 'value', leaking arbitrary columns from any table. This issue has been patched in version 2026.2.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Critical · 9.9 CVSS 3.1 base score from the CNA (github.com)

An attacker with a normal user account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
Impact
high on confidentiality, integrity and availability

Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
  • CWE-918: Server-Side Request Forgery (SSRF)

Affected and fixed versions

ProductAffected versionsFixed in
NeoRazorX facturascripts< 2026.2—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Details from NVD (public domain).

Affected

  • NeoRazorX facturascripts

Frequently asked questions

What is CVE-2026-45262?

CVE-2026-45262 is an SQL injection flaw in FacturaScripts, an open source accounting and invoicing application, in which field names taken from API filter parameters are not escaped when they contain parentheses. The NVD record scores it CVSS 3.1 9.9 CRITICAL with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, as scored by GitHub as a Secondary scorer. Weakness type: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89).

How severe is CVE-2026-45262?

CVE-2026-45262 has a CVSS 3.1 base score of 9.9 (critical), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-45262 being exploited?

Not as far as is known: CVE-2026-45262 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.

Which versions are affected by CVE-2026-45262?

NeoRazorX facturascripts < 2026.2.

How do I fix CVE-2026-45262?

Inventory every FacturaScripts installation and record its version; flag all instances earlier than 2026.2. Upgrade each flagged instance to FacturaScripts 2026.2 or later using the vendor release v2026.2 referenced in the record. Confirm the upgrade by checking that the installed version reads 2026.2 or later on each instance.

Timeline & sources

References

Related vulnerabilities & news