GitHub Advisoryadvisory · Packagist

GHSA-g5vj-wj9x-4jg9 symbiote/silverstripe-multivaluefield Possible PHP Object Injection via Multi-Value Field Extension

MEDIUM Published 2024-05-29 Modified 2024-05-29 Official page ↗
Ecosystem
Packagist
Packages
symbiote/silverstripe-multivaluefield
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-74, CWE-79
Reviewed
2024-05-29

Affected packages

• Packagist symbiote/silverstripe-multivaluefield: >= 3.0.0, < 3.1.0 → fixed in 3.1.0

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.

Related

Weakness · CWE (2)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References