{"items":[{"id":"NVI-00003846","kind":"vulnerability","title":"FacturaScripts has SQL Injection in Autocomplete Actions","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-pqqg-5f4f-8952","CVE-2026-25514"],"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-4d1f391f371d7be9dc005228c30f697a"],"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-b00f6b831b3ae7f9beca575b3f20d98e"],"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.397Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-297088b2df47ba2693bd4189cf71eab4"},{"kind":"CVSS","as_of":"2026-06-17T10:24:46.397Z","value":"8.7 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-297088b2df47ba2693bd4189cf71eab4"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.524%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.44506. Missing scores are unknown.","source_id":"sr-b00f6b831b3ae7f9beca575b3f20d98e"}],"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-4d1f391f371d7be9dc005228c30f697a","url":"https://github.com/advisories/GHSA-pqqg-5f4f-8952","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pqqg-5f4f-8952","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"},{"id":"sr-297088b2df47ba2693bd4189cf71eab4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25514","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-25514","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:47.597Z"},{"id":"sr-b00f6b831b3ae7f9beca575b3f20d98e","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-25514","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4d1f391f371d7be9dc005228c30f697a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the autocomplete functionality** that allows authenticated attackers to extract sensitive data from the database including user credentials, configuration settings, and all stored business data. The vulnerability exists in the `CodeModel::all()` method where user-supplied parameters are directly concatenated into SQL queries without sanitization or parameterized binding.\n\n---\n\n### Details\n\nMultiple controllers in FacturaScripts, including `CopyModel`, `ListController`, and `PanelController`, implement an autocomplete action that processes user input through the `CodeModel::search()` or `CodeModel::all()` methods. These methods construct SQL queries by directly concatenating user-controlled parameters without any validation or escaping.\n\n#### Vulnerable Code Location\n\n**File:** `/Core/Model/CodeModel.php`\n**Method:** `all()`\n**Lines:** 108-109\n\n```php\npublic static function all(string $tableName, string $fieldCode, string $fieldDescription, bool $addEmpty = true, array $where = []): array\n{\n    // ......\n\n    // VULNERABLE CODE:\n    $sql = 'SELECT DISTINCT ' . $fieldCode . ' AS code, ' . $fieldDescriptio","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-11-05T03:52:54.773Z","source_updated_at":"2026-02-04T22:03:40.296Z","source_disclosed_at":"2026-02-03T18:17:24.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:30.994Z"},{"id":"NVI-00003846","kind":"vulnerability","title":"FacturaScripts has SQL Injection in Autocomplete Actions","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-pqqg-5f4f-8952","CVE-2026-25514"],"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-4d1f391f371d7be9dc005228c30f697a"],"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-297088b2df47ba2693bd4189cf71eab4"],"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.397Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-297088b2df47ba2693bd4189cf71eab4"},{"kind":"CVSS","as_of":"2026-06-17T10:24:46.397Z","value":"8.7 HIGH (4.0)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-297088b2df47ba2693bd4189cf71eab4"}],"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-4d1f391f371d7be9dc005228c30f697a","url":"https://github.com/advisories/GHSA-pqqg-5f4f-8952","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pqqg-5f4f-8952","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"},{"id":"sr-297088b2df47ba2693bd4189cf71eab4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25514","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-25514","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:47.597Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4d1f391f371d7be9dc005228c30f697a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the autocomplete functionality** that allows authenticated attackers to extract sensitive data from the database including user credentials, configuration settings, and all stored business data. The vulnerability exists in the `CodeModel::all()` method where user-supplied parameters are directly concatenated into SQL queries without sanitization or parameterized binding.\n\n---\n\n### Details\n\nMultiple controllers in FacturaScripts, including `CopyModel`, `ListController`, and `PanelController`, implement an autocomplete action that processes user input through the `CodeModel::search()` or `CodeModel::all()` methods. These methods construct SQL queries by directly concatenating user-controlled parameters without any validation or escaping.\n\n#### Vulnerable Code Location\n\n**File:** `/Core/Model/CodeModel.php`\n**Method:** `all()`\n**Lines:** 108-109\n\n```php\npublic static function all(string $tableName, string $fieldCode, string $fieldDescription, bool $addEmpty = true, array $where = []): array\n{\n    // ......\n\n    // VULNERABLE CODE:\n    $sql = 'SELECT DISTINCT ' . $fieldCode . ' AS code, ' . $fieldDescriptio","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-11-01T14:34:07.605Z","source_updated_at":"2026-02-04T22:03:40.296Z","source_disclosed_at":"2026-02-03T18:17:24.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:30.994Z"},{"id":"NVI-00003846","kind":"vulnerability","title":"FacturaScripts has SQL Injection in Autocomplete Actions","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-pqqg-5f4f-8952","CVE-2026-25514"],"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-4d1f391f371d7be9dc005228c30f697a"],"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-4d1f391f371d7be9dc005228c30f697a","url":"https://github.com/advisories/GHSA-pqqg-5f4f-8952","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-pqqg-5f4f-8952","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.994Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4d1f391f371d7be9dc005228c30f697a"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"### Summary\n**FacturaScripts contains a critical SQL Injection vulnerability in the autocomplete functionality** that allows authenticated attackers to extract sensitive data from the database including user credentials, configuration settings, and all stored business data. The vulnerability exists in the `CodeModel::all()` method where user-supplied parameters are directly concatenated into SQL queries without sanitization or parameterized binding.\n\n---\n\n### Details\n\nMultiple controllers in FacturaScripts, including `CopyModel`, `ListController`, and `PanelController`, implement an autocomplete action that processes user input through the `CodeModel::search()` or `CodeModel::all()` methods. These methods construct SQL queries by directly concatenating user-controlled parameters without any validation or escaping.\n\n#### Vulnerable Code Location\n\n**File:** `/Core/Model/CodeModel.php`\n**Method:** `all()`\n**Lines:** 108-109\n\n```php\npublic static function all(string $tableName, string $fieldCode, string $fieldDescription, bool $addEmpty = true, array $where = []): array\n{\n    // ......\n\n    // VULNERABLE CODE:\n    $sql = 'SELECT DISTINCT ' . $fieldCode . ' AS code, ' . $fieldDescriptio","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2025.81"]}],"null_published_at":"2026-10-31T22:12:52.599Z","source_updated_at":"2026-02-04T22:03:40.296Z","source_disclosed_at":"2026-02-03T18:17:24.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:30.994Z"}],"next_cursor":null,"snapshot_revision":"42594"}