GHSA-g5vj-wj9x-4jg9 symbiote/silverstripe-multivaluefield Possible PHP Object Injection via Multi-Value Field Extension
An attacker can exploit PHP object injection and XSS vulnerabilities in the SilverStripe multivalue field plugin to execute code or bypass security controls.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-g5vj-wj9x-4jg9?
GHSA-g5vj-wj9x-4jg9 is an unsafe deserialization vulnerability in symbiote/silverstripe-multivaluefield, published on 29 May 2024. It can be exploited over the network.
Official 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.
Which versions are affected by GHSA-g5vj-wj9x-4jg9?
2 open source packages ship an affected version, including symbiote/silverstripe-multivaluefield.
| Package | Affected | Fixed in |
|---|---|---|
symbiote/silverstripe-multivaluefield Packagist | From 3.0.0 | 3.1.0 |
symbiote/silverstripe-multivaluefield Packagist | From 3.0.0 | 3.1.0 |
How do I fix GHSA-g5vj-wj9x-4jg9?
Upgrade symbiote/silverstripe-multivaluefield to 3.1.0 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is GHSA-g5vj-wj9x-4jg9 being exploited?
There is no known exploitation of GHSA-g5vj-wj9x-4jg9 in the wild and no public exploit code.