Skip to content
OpenAdvisories
Medium · 6.1 GHSA-468j-6jrc-2rjx

silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`

Published May 27, 2024 · Updated Dec 2, 2024 · Assigned by GHSA

Description

List of key / value pairs assigned to `OptionsetField` or `CheckboxSetField` do not have a default casting assigned to them. The effect of this is a potential XSS vulnerability in lists where either key or value contain unescaped HTML.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.1.19-rc1, < 3.1.20 3.1.20 GHSA-468j-6jrc-2rjx
Packagist silverstripe/framework >= 3.2.4-rc1, < 3.2.5 3.2.5 GHSA-468j-6jrc-2rjx
Packagist silverstripe/framework >= 3.3.2-rc1, < 3.3.3 3.3.3 GHSA-468j-6jrc-2rjx
Packagist silverstripe/framework >= 3.4.0-rc1, < 3.4.1 3.4.1 GHSA-468j-6jrc-2rjx

References