{"id":"GHSA-468j-6jrc-2rjx","summary":"silverstripe/framework vulnerable to Cross-site Scripting In `OptionsetField` and `CheckboxSetField`","details":"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","modified":"2024-12-02T05:44:24.641832Z","published":"2024-05-27T19:09:53Z","database_specific":{"github_reviewed_at":"2024-05-27T19:09:53Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/049cdefacfd3122d59d5488c1317f999fe8aacc4"},{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/12a6b357e761f09d818fd0013eb2d85014de79a0"},{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/62a242154ec3508fe9b174a40713c8520ac1684c"},{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/b0ba2015d9684ee7b124dafcf6b59b046e20f8ed"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-015-1.yaml"},{"type":"PACKAGE","url":"https://github.com/silverstripe/silverstripe-framework"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/ss-2016-015"}],"affected":[{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.19-rc1"},{"fixed":"3.1.20"}]}],"versions":["3.1.19","3.1.19-rc1","3.1.20-rc1","3.1.20-rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-468j-6jrc-2rjx/GHSA-468j-6jrc-2rjx.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.4-rc1"},{"fixed":"3.2.5"}]}],"versions":["3.2.4","3.2.4-rc1","3.2.5-rc1","3.2.5-rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-468j-6jrc-2rjx/GHSA-468j-6jrc-2rjx.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.3.2-rc1"},{"fixed":"3.3.3"}]}],"versions":["3.3.2","3.3.2-rc1","3.3.3-rc1","3.3.3-rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-468j-6jrc-2rjx/GHSA-468j-6jrc-2rjx.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0-rc1"},{"fixed":"3.4.1"}]}],"versions":["3.4.0","3.4.0-rc1","3.4.1-rc1","3.4.1-rc2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-468j-6jrc-2rjx/GHSA-468j-6jrc-2rjx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}