CVE-2026-30940
Description
baserCMS is a website development framework. Prior to version 5.2.3, a path traversal vulnerability exists in the theme file management API (/baser/api/admin/bc-theme-file/theme_files/add.json) that allows arbitrary file write. An 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). This issue has been patched in version 5.2.3.
How to fix
- basercms basercms5.2.3 or later
- baserproject/basercms5.2.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| basercms basercms | v < 5.2.3 | 5.2.3 |
| baserproject/basercmsPackagist | v < 5.2.3 | 5.2.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.