{"items":[{"id":"NVI-00004648","kind":"vulnerability","title":"FacturaScripts Vulnerable to Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images","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-vf3q-frmr-vrr9","CVE-2026-42879"],"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-aed5d9825cfd008109a17c167630ddc4"],"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-10-26T11:10:00.157Z","value":"6.3 MEDIUM (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-aed5d9825cfd008109a17c167630ddc4"}],"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-6e26752d119881566f39de76c3f56f2b","url":"https://github.com/advisories/GHSA-vf3q-frmr-vrr9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-vf3q-frmr-vrr9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.373Z"},{"id":"sr-aed5d9825cfd008109a17c167630ddc4","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42879","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-42879","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:02.489Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6e26752d119881566f39de76c3f56f2b"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"# CVE-2026-42879 - FacturaScripts - Authenticated Unrestricted File Upload via MIME Type Bypass\n \n## Summary\n \nAn authenticated unrestricted file upload vulnerability exists in FacturaScripts' product image upload functionality. An attacker with valid credentials can upload a PHP file disguised as a GIF image (using a GIF89a header), bypassing MIME type validation. The file is stored with its original extension, including executable extensions such as .php.\n \n---\n \n## Details\n \nThe vulnerability exists in:\n \n`Core/Lib/ExtendedController/ProductImagesTrait.php`\n \nSpecifically in the `addImageAction()` method.\n \n### Vulnerable Code\n \n```php\nif (false === strpos($uploadFile->getMimeType(), 'image/')) {\n    Tools::log()->error('file-not-supported');\n    continue;\n}\n \n$folder = Tools::folder('MyFiles');\nTools::folderCheckOrCreate($folder);\n$uploadFile->move($folder, $uploadFile->getClientOriginalName());\n```\n \n### Root Cause\n \n- The validation only checks if MIME type contains `\"image/\"`\n- This can be bypassed by prepending **GIF89a magic bytes** to a PHP file\n- The system incorrectly identifies the file as `image/gif`\n- The file is saved with a `.php` extension in a web-accessible dire","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 2025.81"]}],"null_published_at":"2026-11-06T15:18:17.679Z","source_updated_at":"2026-09-10T03:50:47.667Z","source_disclosed_at":"2026-05-07T19:49:05.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:41.373Z"},{"id":"NVI-00004648","kind":"vulnerability","title":"FacturaScripts Vulnerable to Authenticated Remote Code Execution (RCE) via GIF Image Upload in Product Images","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-vf3q-frmr-vrr9","CVE-2026-42879"],"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-6e26752d119881566f39de76c3f56f2b"],"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-6e26752d119881566f39de76c3f56f2b","url":"https://github.com/advisories/GHSA-vf3q-frmr-vrr9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-vf3q-frmr-vrr9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-6e26752d119881566f39de76c3f56f2b"],"technology":"facturascripts/facturascripts","known_exclusions":[],"conditions_summary":"# CVE-2026-42879 - FacturaScripts - Authenticated Unrestricted File Upload via MIME Type Bypass\n \n## Summary\n \nAn authenticated unrestricted file upload vulnerability exists in FacturaScripts' product image upload functionality. An attacker with valid credentials can upload a PHP file disguised as a GIF image (using a GIF89a header), bypassing MIME type validation. The file is stored with its original extension, including executable extensions such as .php.\n \n---\n \n## Details\n \nThe vulnerability exists in:\n \n`Core/Lib/ExtendedController/ProductImagesTrait.php`\n \nSpecifically in the `addImageAction()` method.\n \n### Vulnerable Code\n \n```php\nif (false === strpos($uploadFile->getMimeType(), 'image/')) {\n    Tools::log()->error('file-not-supported');\n    continue;\n}\n \n$folder = Tools::folder('MyFiles');\nTools::folderCheckOrCreate($folder);\n$uploadFile->move($folder, $uploadFile->getClientOriginalName());\n```\n \n### Root Cause\n \n- The validation only checks if MIME type contains `\"image/\"`\n- This can be bypassed by prepending **GIF89a magic bytes** to a PHP file\n- The system incorrectly identifies the file as `image/gif`\n- The file is saved with a `.php` extension in a web-accessible dire","public_affected_ranges":["ECOSYSTEM: introduced 0; last_affected 2025.81"]}],"null_published_at":"2026-10-31T22:12:57.136Z","source_updated_at":"2026-09-10T03:50:47.667Z","source_disclosed_at":"2026-05-07T19:49:05.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:41.373Z"}],"next_cursor":null,"snapshot_revision":"42594"}