symbiote/silverstripe-multivaluefield Possible PHP Object Injection via Multi-Value Field ExtensionGHSA-g5vj-wj9x-4jg9
MEDIUMFix: symbiote/silverstripe-multivaluefield@31fbc8cGHSA-g5vj-wj9x-4jg9 is a medium-severity (CVSS 6.1) remote code execution vulnerability in symbiote/silverstripe-multivaluefield. A fix is available for symbiote/silverstripe-multivaluefield — see the affected versions and patch details below.
Real-World Exposure
symbiote/silverstripe-multivaluefieldReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
A potential deserialisation vulnerability has been identified in the symbiote/silverstripe-multivaluefield which could allow an attacker to exploit implementations of this module via object injection.
Support for handling PHP objects as values in this module has been deprecated, and the serialisation technique has been switched to using JSON for handling arrays.
As well as this, a potential XSS (cross-site scripting) vulnerability has been identified and remediated.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | symbiote/silverstripe-multivaluefield | ≥ 3.0.0&&< 3.1.0 | 3.1.0composer require symbiote/silverstripe-multivaluefield:^3.1.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symbiote/silverstripe-multivaluefield, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update symbiote/silverstripe-multivaluefield to 3.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-g5vj-wj9x-4jg9 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-g5vj-wj9x-4jg9 in your dependencies?
Find it across Packagist, including transitive dependencies.