{"items":[{"id":"NVI-00001877","kind":"vulnerability","title":"FacturaScripts has SQL Injection in API ORDER BY Clause","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-cjfx-qhwm-hf99","CVE-2026-25513"],"plain_summary":"OSV carries this publisher advisory for facturascripts/facturascripts. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2025.81 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-037765f4510602489c274b228fc0858a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-3ad70fa0716cae2b5002cc94bc38c0c2"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"},{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.3 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"},{"kind":"EPSS","as_of":"2026-11-01T12:00:16.000Z","value":"0.524%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.44502. Missing scores are unknown.","source_id":"sr-3ad70fa0716cae2b5002cc94bc38c0c2"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-037765f4510602489c274b228fc0858a","url":"https://github.com/advisories/GHSA-cjfx-qhwm-hf99","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cjfx-qhwm-hf99","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.701Z"},{"id":"sr-4d25be863415f23279e49a9d084c060d","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25513","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-25513","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:47.597Z"},{"id":"sr-3ad70fa0716cae2b5002cc94bc38c0c2","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-25513","publisher":"FIRST EPSS","observed_at":"2026-11-01T14:28:32.271Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-037765f4510602489c274b228fc0858a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the REST API** that allows authenticated API users to execute arbitrary SQL queries through the `sort` parameter. The vulnerability exists in the `ModelClass::getOrderBy()` method where user-supplied sorting parameters are directly concatenated into the SQL ORDER BY clause without validation or sanitization. This affects **all API endpoints** that support sorting functionality.\n\n---\n\n### Details\n\nThe FacturaScripts REST API exposes database models through various endpoints (e.g., `/api/3/users`, `/api/3/attachedfiles`, `/api/3/customers`). These endpoints support a `sort` parameter that allows clients to specify result ordering. The API processes this parameter through the `ModelClass::all()` method, which calls the vulnerable `getOrderBy()` function.\n\n#### Vulnerable Code Locations\n\n**1. Legacy Models:**\n**File:** `/Core/Model/Base/ModelClass.php`\n**Method:** `getOrderBy()`\nDirect concatenation of keys and values from the `$order` array.\n\n**2. Modern Models (DbQuery):**\n**File:** `/Core/DbQuery.php`\n**Method:** `orderBy()`\n**Lines:** 255-259\n```php\n        // If it contains parentheses, it is not escap","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-11-08T19:53:48.759Z","source_updated_at":"2026-02-04T23:11:25.280Z","source_disclosed_at":"2026-02-03T18:14:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:10.701Z"},{"id":"NVI-00001877","kind":"vulnerability","title":"FacturaScripts has SQL Injection in API ORDER BY Clause","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-cjfx-qhwm-hf99","CVE-2026-25513"],"plain_summary":"OSV carries this publisher advisory for facturascripts/facturascripts. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2025.81 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-037765f4510602489c274b228fc0858a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-adc2a6ff4dc7f312c6230d15d94fe700"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"},{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.3 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.529%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.44763. Missing scores are unknown.","source_id":"sr-adc2a6ff4dc7f312c6230d15d94fe700"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-037765f4510602489c274b228fc0858a","url":"https://github.com/advisories/GHSA-cjfx-qhwm-hf99","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cjfx-qhwm-hf99","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.701Z"},{"id":"sr-4d25be863415f23279e49a9d084c060d","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25513","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-25513","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:47.597Z"},{"id":"sr-adc2a6ff4dc7f312c6230d15d94fe700","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-25513","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-037765f4510602489c274b228fc0858a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the REST API** that allows authenticated API users to execute arbitrary SQL queries through the `sort` parameter. The vulnerability exists in the `ModelClass::getOrderBy()` method where user-supplied sorting parameters are directly concatenated into the SQL ORDER BY clause without validation or sanitization. This affects **all API endpoints** that support sorting functionality.\n\n---\n\n### Details\n\nThe FacturaScripts REST API exposes database models through various endpoints (e.g., `/api/3/users`, `/api/3/attachedfiles`, `/api/3/customers`). These endpoints support a `sort` parameter that allows clients to specify result ordering. The API processes this parameter through the `ModelClass::all()` method, which calls the vulnerable `getOrderBy()` function.\n\n#### Vulnerable Code Locations\n\n**1. Legacy Models:**\n**File:** `/Core/Model/Base/ModelClass.php`\n**Method:** `getOrderBy()`\nDirect concatenation of keys and values from the `$order` array.\n\n**2. Modern Models (DbQuery):**\n**File:** `/Core/DbQuery.php`\n**Method:** `orderBy()`\n**Lines:** 255-259\n```php\n        // If it contains parentheses, it is not escap","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-11-05T03:52:54.767Z","source_updated_at":"2026-02-04T23:11:25.280Z","source_disclosed_at":"2026-02-03T18:14:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:10.701Z"},{"id":"NVI-00001877","kind":"vulnerability","title":"FacturaScripts has SQL Injection in API ORDER BY Clause","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-cjfx-qhwm-hf99","CVE-2026-25513"],"plain_summary":"OSV carries this publisher advisory for facturascripts/facturascripts. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2025.81 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-037765f4510602489c274b228fc0858a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4d25be863415f23279e49a9d084c060d"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"},{"kind":"CVSS","as_of":"2026-06-17T10:24:46.267Z","value":"8.3 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-4d25be863415f23279e49a9d084c060d"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-037765f4510602489c274b228fc0858a","url":"https://github.com/advisories/GHSA-cjfx-qhwm-hf99","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cjfx-qhwm-hf99","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.701Z"},{"id":"sr-4d25be863415f23279e49a9d084c060d","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25513","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-25513","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:47.597Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-037765f4510602489c274b228fc0858a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the REST API** that allows authenticated API users to execute arbitrary SQL queries through the `sort` parameter. The vulnerability exists in the `ModelClass::getOrderBy()` method where user-supplied sorting parameters are directly concatenated into the SQL ORDER BY clause without validation or sanitization. This affects **all API endpoints** that support sorting functionality.\n\n---\n\n### Details\n\nThe FacturaScripts REST API exposes database models through various endpoints (e.g., `/api/3/users`, `/api/3/attachedfiles`, `/api/3/customers`). These endpoints support a `sort` parameter that allows clients to specify result ordering. The API processes this parameter through the `ModelClass::all()` method, which calls the vulnerable `getOrderBy()` function.\n\n#### Vulnerable Code Locations\n\n**1. Legacy Models:**\n**File:** `/Core/Model/Base/ModelClass.php`\n**Method:** `getOrderBy()`\nDirect concatenation of keys and values from the `$order` array.\n\n**2. Modern Models (DbQuery):**\n**File:** `/Core/DbQuery.php`\n**Method:** `orderBy()`\n**Lines:** 255-259\n```php\n        // If it contains parentheses, it is not escap","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-11-02T20:21:07.850Z","source_updated_at":"2026-02-04T23:11:25.280Z","source_disclosed_at":"2026-02-03T18:14:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:10.701Z"},{"id":"NVI-00001877","kind":"vulnerability","title":"FacturaScripts has SQL Injection in API ORDER BY Clause","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-cjfx-qhwm-hf99","CVE-2026-25513"],"plain_summary":"OSV carries this publisher advisory for facturascripts/facturascripts. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2025.81 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-037765f4510602489c274b228fc0858a"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-037765f4510602489c274b228fc0858a","url":"https://github.com/advisories/GHSA-cjfx-qhwm-hf99","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-cjfx-qhwm-hf99","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.701Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-037765f4510602489c274b228fc0858a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the REST API** that allows authenticated API users to execute arbitrary SQL queries through the `sort` parameter. The vulnerability exists in the `ModelClass::getOrderBy()` method where user-supplied sorting parameters are directly concatenated into the SQL ORDER BY clause without validation or sanitization. This affects **all API endpoints** that support sorting functionality.\n\n---\n\n### Details\n\nThe FacturaScripts REST API exposes database models through various endpoints (e.g., `/api/3/users`, `/api/3/attachedfiles`, `/api/3/customers`). These endpoints support a `sort` parameter that allows clients to specify result ordering. The API processes this parameter through the `ModelClass::all()` method, which calls the vulnerable `getOrderBy()` function.\n\n#### Vulnerable Code Locations\n\n**1. Legacy Models:**\n**File:** `/Core/Model/Base/ModelClass.php`\n**Method:** `getOrderBy()`\nDirect concatenation of keys and values from the `$order` array.\n\n**2. Modern Models (DbQuery):**\n**File:** `/Core/DbQuery.php`\n**Method:** `orderBy()`\n**Lines:** 255-259\n```php\n        // If it contains parentheses, it is not escap","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-10-31T21:53:28.053Z","source_updated_at":"2026-02-04T23:11:25.280Z","source_disclosed_at":"2026-02-03T18:14:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:10.701Z"}],"next_cursor":null,"snapshot_revision":"42594"}