{"items":[{"id":"NVI-00003302","kind":"vulnerability","title":"baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API","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-c5c6-37vq-pjcq","CVE-2026-30940"],"plain_summary":"OSV carries this publisher advisory for baserproject/basercms. 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 5.2.3 for baserproject/basercms. Confirm the publisher’s latest guidance.","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"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-5373cbe69131a68466a9cfe25a7e9b02"],"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:33:11.443Z","value":"7.2 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-c271351f1dd6207c48b54eaff0fb9858"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.067%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.64803. Missing scores are unknown.","source_id":"sr-5373cbe69131a68466a9cfe25a7e9b02"}],"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-39edd027bfebe08c94978c4f938dec74","url":"https://github.com/advisories/GHSA-c5c6-37vq-pjcq","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-c5c6-37vq-pjcq","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.695Z"},{"id":"sr-c271351f1dd6207c48b54eaff0fb9858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30940","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-30940","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:56.268Z"},{"id":"sr-5373cbe69131a68466a9cfe25a7e9b02","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-30940","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"technology":"baserproject/basercms","known_exclusions":[],"conditions_summary":"## Summary\n\nA path traversal vulnerability exists in the baserCMS 5.x theme file management API (`/baser/api/admin/bc-theme-file/theme_files/add.json`) that allows arbitrary file write.\n\nAn authenticated administrator can include `../` sequences in the `path` parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE).\n\n## Affected Code\n\n**File**: `plugins/bc-theme-file/src/Service/BcThemeFileService.php`\n\n```php\npublic function getFullpath(string $theme, string $plugin, string $type, string $path)\n{\n    // ...\n    return $viewPath . $type . DS . $path;  // $path is not sanitized\n}\n```\n\n## Attack Scenario\n\n1. The attacker compromises an administrator account (password leak, brute force, etc.)\n2. Obtains an access token via API login\n3. Specifies `path: \"../../../../webroot/\"` in the theme file creation API\n4. A PHP file is created in the webroot\n5. The attacker accesses the created PHP file to achieve RCE\n\n## Reproduction Steps\n\n```bash\n# 1. Login\ncurl -X POST \"http://target/baser/api/admin/baser-core/users/login.json\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"admin@example.com\",\"password\":\"pa","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 5.2.3"]}],"null_published_at":"2026-11-07T22:29:23.388Z","source_updated_at":"2026-09-10T03:50:38.564Z","source_disclosed_at":"2026-03-31T22:47:39.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.695Z"},{"id":"NVI-00003302","kind":"vulnerability","title":"baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-c5c6-37vq-pjcq","CVE-2026-30940"],"plain_summary":"OSV carries this publisher advisory for baserproject/basercms. 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 5.2.3 for baserproject/basercms. Confirm the publisher’s latest guidance.","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"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-5373cbe69131a68466a9cfe25a7e9b02"],"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":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"1.067%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.64803. Missing scores are unknown.","source_id":"sr-5373cbe69131a68466a9cfe25a7e9b02"}],"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-39edd027bfebe08c94978c4f938dec74","url":"https://github.com/advisories/GHSA-c5c6-37vq-pjcq","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-c5c6-37vq-pjcq","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.695Z"},{"id":"sr-5373cbe69131a68466a9cfe25a7e9b02","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-30940","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.376Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"technology":"baserproject/basercms","known_exclusions":[],"conditions_summary":"## Summary\n\nA path traversal vulnerability exists in the baserCMS 5.x theme file management API (`/baser/api/admin/bc-theme-file/theme_files/add.json`) that allows arbitrary file write.\n\nAn authenticated administrator can include `../` sequences in the `path` parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE).\n\n## Affected Code\n\n**File**: `plugins/bc-theme-file/src/Service/BcThemeFileService.php`\n\n```php\npublic function getFullpath(string $theme, string $plugin, string $type, string $path)\n{\n    // ...\n    return $viewPath . $type . DS . $path;  // $path is not sanitized\n}\n```\n\n## Attack Scenario\n\n1. The attacker compromises an administrator account (password leak, brute force, etc.)\n2. Obtains an access token via API login\n3. Specifies `path: \"../../../../webroot/\"` in the theme file creation API\n4. A PHP file is created in the webroot\n5. The attacker accesses the created PHP file to achieve RCE\n\n## Reproduction Steps\n\n```bash\n# 1. Login\ncurl -X POST \"http://target/baser/api/admin/baser-core/users/login.json\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"admin@example.com\",\"password\":\"pa","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 5.2.3"]}],"null_published_at":"2026-11-01T01:04:04.842Z","source_updated_at":"2026-09-10T03:50:38.564Z","source_disclosed_at":"2026-03-31T22:47:39.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.695Z"},{"id":"NVI-00003302","kind":"vulnerability","title":"baserCMS Path Traversal Leads to Arbitrary File Write and RCE via Theme File API","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-c5c6-37vq-pjcq","CVE-2026-30940"],"plain_summary":"OSV carries this publisher advisory for baserproject/basercms. 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 5.2.3 for baserproject/basercms. Confirm the publisher’s latest guidance.","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"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-39edd027bfebe08c94978c4f938dec74","url":"https://github.com/advisories/GHSA-c5c6-37vq-pjcq","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-c5c6-37vq-pjcq","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.695Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-39edd027bfebe08c94978c4f938dec74"],"technology":"baserproject/basercms","known_exclusions":[],"conditions_summary":"## Summary\n\nA path traversal vulnerability exists in the baserCMS 5.x theme file management API (`/baser/api/admin/bc-theme-file/theme_files/add.json`) that allows arbitrary file write.\n\nAn authenticated administrator can include `../` sequences in the `path` parameter to create a PHP file in an arbitrary directory outside the theme directory, which may result in remote code execution (RCE).\n\n## Affected Code\n\n**File**: `plugins/bc-theme-file/src/Service/BcThemeFileService.php`\n\n```php\npublic function getFullpath(string $theme, string $plugin, string $type, string $path)\n{\n    // ...\n    return $viewPath . $type . DS . $path;  // $path is not sanitized\n}\n```\n\n## Attack Scenario\n\n1. The attacker compromises an administrator account (password leak, brute force, etc.)\n2. Obtains an access token via API login\n3. Specifies `path: \"../../../../webroot/\"` in the theme file creation API\n4. A PHP file is created in the webroot\n5. The attacker accesses the created PHP file to achieve RCE\n\n## Reproduction Steps\n\n```bash\n# 1. Login\ncurl -X POST \"http://target/baser/api/admin/baser-core/users/login.json\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"email\":\"admin@example.com\",\"password\":\"pa","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 5.2.3"]}],"null_published_at":"2026-10-31T22:12:48.011Z","source_updated_at":"2026-09-10T03:50:38.564Z","source_disclosed_at":"2026-03-31T22:47:39.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.695Z"}],"next_cursor":null,"snapshot_revision":"42594"}