---
id: CVE-2025-34292
title: "Rox, the software running BeWelcome,\_contains a PHP object injection vulnerability\_resulting from deserialization of untrusted data"
summary: "Rox, the software running BeWelcome,\_contains a PHP object injection vulnerability\_resulting from deserialization of untrusted data. User-controlled input is passed to PHP's unserialize(): the POST parameter `formkit_memory_recovery` in …"
severity: none
cwe:
  - CWE-502
published: '2025-10-27'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-34292'
references:
  - url: 'https://gist.github.com/mcdruid/c0f7c42b28949c7d86cf77d0c674f398'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/BeWelcome/rox'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/BeWelcome/rox/commit/c60bf04'
    label: disclosure@vulncheck.com
  - url: 'https://www.vulncheck.com/advisories/rox-php-object-injection-rce'
    label: disclosure@vulncheck.com
  - url: 'https://gist.github.com/mcdruid/c0f7c42b28949c7d86cf77d0c674f398'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00547
epssPercentile: 0.43469
ingestedAt: '2026-07-15T13:44:03.383Z'
---

## Overview

Rox, the software running BeWelcome, contains a PHP object injection vulnerability resulting from deserialization of untrusted data. User-controlled input is passed to PHP's unserialize(): the POST parameter `formkit_memory_recovery` in \\RoxPostHandler::getCallbackAction and the 'memory cookie' read by \\RoxModelBase::getMemoryCookie (bwRemember). (1) If present, `formkit_memory_recovery` is processed and passed to unserialize(), and (2) restore-from-memory functionality calls unserialize() on the bwRemember cookie value. Gadget chains present in Rox and bundled libraries enable exploitation of object injection to write arbitrary files or achieve remote code execution. Successful exploitation can lead to full site compromise. This vulnerability was remediated with commit c60bf04 (2025-06-16).

## Remediation

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