Skip to main content
← All vulnerabilities
CVE-2026-114624EUVD-2026-108995GHSA-XF6P-R2HC-CC6W

baserCMS: PHP object injection via unguarded unserialize() in the widget-area entity

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.3.2, 5.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

baserCMS, a PHP website development framework, is affected, specifically its widget-area feature. A malicious payload stored there by an administrator (or by someone who has gained widget-editing rights) can be unsafely reconstructed each time the site loads, allowing commands to run on the server as the web-server user.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • baserproject basercms

    From 5.0.0 · fixed in 5.3.2; From 5.4.0 · fixed in 5.4.2

References 5

GitHub · baserproject/basercms