{"items":[{"id":"NVI-00003225","kind":"vulnerability","title":"FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to   RCE","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-hgjx-r89m-m7v4","CVE-2026-77526"],"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 2026.3 for facturascripts/facturascripts. Confirm the publisher’s latest guidance.","source_ids":["sr-0e66a99ad8e87abde210d0095d6528d8"],"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-0e66a99ad8e87abde210d0095d6528d8","url":"https://github.com/advisories/GHSA-hgjx-r89m-m7v4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-hgjx-r89m-m7v4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-11-03T09:58:39.968Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0e66a99ad8e87abde210d0095d6528d8"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`FacturaScripts\\Core\\UploadedFile::move($destiny, $destinyName)` concatenates `$destiny` and `$destinyName` without normalizing the resulting path. Every caller in the codebase passes `UploadedFile::getClientOriginalName()` — the unsanitized client-supplied filename — as `$destinyName`, so an authenticated user submitting a filename containing `../` segments can write the uploaded content to any directory writable by the web-server user, escaping the intended `MyFiles/` location.\n\nBecause the shipped `htaccess-sample` (the documented production Apache configuration) excludes `Dinamic/Assets/` and `node_modules/` from the `index.php` rewrite, files written into those directories are served directly by Apache. Combined with `.htaccess` not being in `BLOCKED_EXTENSIONS`, the primitive escalates from arbitrary file write to remote code execution.\n\n## Vulnerable Code\n\n`Core/UploadedFile.php`:\n\n```php\nprivate const BLOCKED_EXTENSIONS = ['phar', 'php', 'php3', 'php4', 'php5', 'php7', 'php8', 'pht', 'phtml', 'phps'];\n\npublic function move(string $destiny, string $destinyName): bool\n{\n    if (!$this->isValid()) {\n        return false;\n    }\n    if (substr($destiny, -1) !== DIREC","public_affected_ranges":["ECOSYSTEM: introduced 2025; fixed 2026.3"]}],"null_published_at":"2026-11-04T02:53:08.397Z","source_updated_at":"2026-11-02T23:15:03.695Z","source_disclosed_at":"2026-07-14T20:52:00.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:20.429Z"},{"id":"NVI-00003225","kind":"vulnerability","title":"FacturaScripts: Path traversal in UploadedFile::move() via getClientOriginalName() — arbitrary file write outside MyFiles/ leading to   RCE","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-hgjx-r89m-m7v4"],"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":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-36ef279e1f0443f679f396e7e4c7f951"],"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":[],"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-36ef279e1f0443f679f396e7e4c7f951","url":"https://github.com/advisories/GHSA-hgjx-r89m-m7v4","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-hgjx-r89m-m7v4","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.429Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-36ef279e1f0443f679f396e7e4c7f951"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"## Summary\n\n`FacturaScripts\\Core\\UploadedFile::move($destiny, $destinyName)` concatenates `$destiny` and `$destinyName` without normalizing the resulting path. Every caller in the codebase passes `UploadedFile::getClientOriginalName()` — the unsanitized client-supplied filename — as `$destinyName`, so an authenticated user submitting a filename containing `../` segments can write the uploaded content to any directory writable by the web-server user, escaping the intended `MyFiles/` location.\n\nBecause the shipped `htaccess-sample` (the documented production Apache configuration) excludes `Dinamic/Assets/` and `node_modules/` from the `index.php` rewrite, files written into those directories are served directly by Apache. Combined with `.htaccess` not being in `BLOCKED_EXTENSIONS`, the primitive escalates from arbitrary file write to remote code execution.\n\n## Vulnerable Code\n\n`Core/UploadedFile.php`:\n\n```php\nprivate const BLOCKED_EXTENSIONS = ['phar', 'php', 'php3', 'php4', 'php5', 'php7', 'php8', 'pht', 'phtml', 'phps'];\n\npublic function move(string $destiny, string $destinyName): bool\n{\n    if (!$this->isValid()) {\n        return false;\n    }\n    if (substr($destiny, -1) !== DIREC","public_affected_ranges":["ECOSYSTEM: introduced 2025; last_affected 2026.2"]}],"null_published_at":"2026-10-31T22:12:43.400Z","source_updated_at":"2026-07-14T21:00:58.255Z","source_disclosed_at":"2026-07-14T20:52:00.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:20.429Z"}],"next_cursor":null,"snapshot_revision":"42594"}