{"id":"GHSA-r32j-mr8p-hfp8","summary":"Silverstripe XSS in TreeDropdownField and TreeMultiSelectField","details":"A cross-site scripting vulnerability has been discovered in the TreeDropdownField and TreeMultiSelectField.\n\nThis vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the dataobjects used as a data source for either of these fields.\n\nThis has been resolved by ensuring that all dataobjects used as a data source have their content safely encoded.","modified":"2024-11-28T05:41:35.155308Z","published":"2024-05-23T14:57:18Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-05-23T14:57:18Z"},"references":[{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/89c14d079d3a130d6c4029af596262528ce53925"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2015-004-1.yaml"},{"type":"PACKAGE","url":"https://github.com/silverstripe/silverstripe-framework"},{"type":"WEB","url":"https://www.silverstripe.org/software/download/security-releases/ss-2015-004"}],"affected":[{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.10"}]}],"versions":["3.1.0","3.1.1","3.1.10-rc1","3.1.10-rc2","3.1.2","3.1.2-rc1","3.1.3","3.1.3-rc1","3.1.3-rc2","3.1.4","3.1.4-rc1","3.1.5","3.1.5-rc1","3.1.6","3.1.6-rc1","3.1.6-rc2","3.1.6-rc3","3.1.7","3.1.7-rc1","3.1.8","3.1.9","3.1.9-rc1"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.1.9","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-r32j-mr8p-hfp8/GHSA-r32j-mr8p-hfp8.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"}]}