{"id":"GHSA-r97r-64vp-fghm","aliases":[],"title":"Silverstripe XSS vulnerability via VirtualPage","description":"A cross-site scripting vulnerability has been discovered in the VirtualPage class.\n\nThis vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the textfields of a page which a VirtualPage refers to.\n\nThis has been resolved by ensuring that VirtualPage safely escapes all field content.","severity":"medium","score":6.1,"published":"2024-05-22T18:53:38.000Z","modified":"2024-12-07T05:24:40.106Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"silverstripe/cms","ranges":[{"events":[{"introduced":"3.1.0"},{"fixed":"3.1.10"}],"type":"ECOSYSTEM"}],"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"],"fixed":["3.1.10"]}],"sourceAffected":[],"references":["https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/cms/SS-2015-005-1.yaml","https://github.com/silverstripe/silverstripe-cms","https://www.silverstripe.org/software/download/security-releases/ss-2015-005"],"sources":[{"name":"OSV","id":"GHSA-r97r-64vp-fghm","modified":"2024-12-07T05:24:40.106362Z","url":"https://osv.dev/vulnerability/GHSA-r97r-64vp-fghm"}],"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}]}