---
id: CVE-2026-114624
title: >-
  baserCMS: PHP object injection via unguarded unserialize() in the widget-area
  entity
summary: >-
  baserCMS is a website development framework. In versions 5.0.0 before 5.3.2
  and 5.4.0 before 5.4.2, the widget-area entity serializes widgets only when
  the submitted value is an array, allowing a string submitted through the admin
  JSON A…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-502
vendor: baserproject
product: basercms
affected:
  - 'basercms >= 5.0.0, < 5.3.2'
  - 'basercms >= 5.4.0, < 5.4.2'
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T13:47:08.832Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114624'
references:
  - url: >-
      https://github.com/baserproject/basercms/security/advisories/GHSA-xf6p-r2hc-cc6w
    label: >-
      https://github.com/baserproject/basercms/security/advisories/GHSA-xf6p-r2hc-cc6w
  - url: >-
      https://github.com/baserproject/basercms/commit/38c778e92688e7f5d620a4c6b47ad7fb9e2c1529
    label: >-
      https://github.com/baserproject/basercms/commit/38c778e92688e7f5d620a4c6b47ad7fb9e2c1529
  - url: >-
      https://github.com/baserproject/basercms/commit/59dfe61e193ae3274c195c15e7b185816d2db9db
    label: >-
      https://github.com/baserproject/basercms/commit/59dfe61e193ae3274c195c15e7b185816d2db9db
  - url: 'https://github.com/baserproject/basercms/releases/tag/5.3.2'
    label: 'https://github.com/baserproject/basercms/releases/tag/5.3.2'
  - url: 'https://github.com/baserproject/basercms/releases/tag/5.4.2'
    label: 'https://github.com/baserproject/basercms/releases/tag/5.4.2'
tags:
  - cve.org
ingestedAt: '2026-10-23T14:28:08.700Z'
---

## Overview

baserCMS is a website development framework. In versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2, the widget-area entity serializes widgets only when the submitted value is an array, allowing a string submitted through the admin JSON API to be stored unchanged. Entity reads, including front-end rendering and API responses, deserialize the stored value with unserialize() without an allowed_classes restriction, accepting both raw and base64-encoded serialized data. An administrator, or an attacker who obtains widget-write capability through a separate vulnerability such as chained XSS, can plant an object graph that subsequently triggers on unauthenticated page requests. Two demonstrated gadget chains in the default dependency set use composer/composer ProcessExecutor::startJob() with Process::fromShellCommandline(), or logiscape/mcp-sdk-php StdioTransport::connect() with StdioServerParameters, to reach proc_open() and execute commands as the web-server user. Deserialization bypasses constructor-based readonly safeguards, and the stored payload can execute repeatedly until the database row is repaired. Unauthenticated page access is a trigger after privileged payload storage, not an unauthenticated means of initially planting the payload. This issue has been patched in versions 5.3.2 and 5.4.2.

## Affected

- `basercms >= 5.0.0, < 5.3.2`
- `basercms >= 5.4.0, < 5.4.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
