{"id":"GHSA-468j-6jrc-2rjx","aliases":[],"title":"silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.\n\n","severity":"medium","score":6.1,"published":"2024-05-27T19:09:53.000Z","modified":"2024-12-02T05:44:24.641Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"silverstripe/framework","sources":[{"name":"OSV · GHSA-468j-6jrc-2rjx","url":"https://osv.dev/vulnerability/GHSA-468j-6jrc-2rjx"}],"ranges":[{"events":[{"introduced":"3.1.19-rc1"},{"fixed":"3.1.20"}],"type":"ECOSYSTEM"}],"versions":["3.1.19","3.1.19-rc1","3.1.20-rc1","3.1.20-rc2"],"fixed":["3.1.20"]},{"ecosystem":"Packagist","name":"silverstripe/framework","sources":[{"name":"OSV · GHSA-468j-6jrc-2rjx","url":"https://osv.dev/vulnerability/GHSA-468j-6jrc-2rjx"}],"ranges":[{"events":[{"introduced":"3.2.4-rc1"},{"fixed":"3.2.5"}],"type":"ECOSYSTEM"}],"versions":["3.2.4","3.2.4-rc1","3.2.5-rc1","3.2.5-rc2"],"fixed":["3.2.5"]},{"ecosystem":"Packagist","name":"silverstripe/framework","sources":[{"name":"OSV · GHSA-468j-6jrc-2rjx","url":"https://osv.dev/vulnerability/GHSA-468j-6jrc-2rjx"}],"ranges":[{"events":[{"introduced":"3.3.2-rc1"},{"fixed":"3.3.3"}],"type":"ECOSYSTEM"}],"versions":["3.3.2","3.3.2-rc1","3.3.3-rc1","3.3.3-rc2"],"fixed":["3.3.3"]},{"ecosystem":"Packagist","name":"silverstripe/framework","sources":[{"name":"OSV · GHSA-468j-6jrc-2rjx","url":"https://osv.dev/vulnerability/GHSA-468j-6jrc-2rjx"}],"ranges":[{"events":[{"introduced":"3.4.0-rc1"},{"fixed":"3.4.1"}],"type":"ECOSYSTEM"}],"versions":["3.4.0","3.4.0-rc1","3.4.1-rc1","3.4.1-rc2"],"fixed":["3.4.1"]}],"sourceAffected":[],"references":["https://github.com/silverstripe/silverstripe-framework/commit/049cdefacfd3122d59d5488c1317f999fe8aacc4","https://github.com/silverstripe/silverstripe-framework/commit/12a6b357e761f09d818fd0013eb2d85014de79a0","https://github.com/silverstripe/silverstripe-framework/commit/62a242154ec3508fe9b174a40713c8520ac1684c","https://github.com/silverstripe/silverstripe-framework/commit/b0ba2015d9684ee7b124dafcf6b59b046e20f8ed","https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-015-1.yaml","https://github.com/silverstripe/silverstripe-framework","https://www.silverstripe.org/download/security-releases/ss-2016-015"],"sources":[{"name":"OSV","id":"GHSA-468j-6jrc-2rjx","modified":"2024-12-02T05:44:24.641832Z","url":"https://osv.dev/vulnerability/GHSA-468j-6jrc-2rjx"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1}],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-29T02:30:33.887Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}