{"id":"GHSA-6hh6-59j2-qrxw","aliases":[],"status":"published","title":"Silverstripe History XSS Vulnerability","description":"A cross-site scripting vulnerability has been discovered in the CMS page history tab.\n\nThis vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the \"compare mode\" option is selected. The HTML will be embedded into the page unescaped.\n\nThis has been resolved by performing the text comparison in a HTML friendly way.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-05-22T18:25:16Z","modified":"2024-12-07T05:40:14Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/cms","fixed_in":["3.1.10"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/cms","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.1.9"},{"fixed":"3.1.10"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/cms","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"]}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/cms/SS-2015-003-1.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/software/download/security-releases/ss-2015-003","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6hh6-59j2-qrxw"},{"url":"https://github.com/silverstripe/silverstripe-cms","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-6hh6-59j2-qrxw","title":"Silverstripe History XSS Vulnerability","description":"A cross-site scripting vulnerability has been discovered in the CMS page history tab.\n\nThis vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the \"compare mode\" option is selected. The HTML will be embedded into the page unescaped.\n\nThis has been resolved by performing the text comparison in a HTML friendly way.","status":"published","published":"2024-05-22T18:25:16Z","modified":"2024-05-22T18:25:16Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:51.549437Z"}],"osv":[{"id":"GHSA-6hh6-59j2-qrxw","title":"Silverstripe History XSS Vulnerability","description":"A cross-site scripting vulnerability has been discovered in the CMS page history tab.\n\nThis vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the \"compare mode\" option is selected. The HTML will be embedded into the page unescaped.\n\nThis has been resolved by performing the text comparison in a HTML friendly way.","status":"published","published":"2024-05-22T18:25:16Z","modified":"2024-12-07T05:40:14.392174Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.618611Z"}]}}
