{"id":"GHSA-6hh6-59j2-qrxw","aliases":["GHSA-6hh6-59j2-qrxw"],"related":[],"kind":"vulnerability","state":"published","title":"Silverstripe History XSS Vulnerability","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-22T18:25:16.000Z","modified":"2024-12-07T05:40:14.392Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.1.0","status":"affected","fixed":"3.1.10"}],"ecosystem":"Packagist","package":"silverstripe/cms","purl":"pkg:composer/silverstripe/cms","source":"ghsa"}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/cms/SS-2015-003-1.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-cms","tags":["package"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/software/download/security-releases/ss-2015-003","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hh6-59j2-qrxw","url":"https://github.com/advisories/GHSA-6hh6-59j2-qrxw","licence":"CC-BY-4.0","modified":"2024-12-07T05:40:14.392Z"}],"updatedAt":"2026-11-25T22:56:31.327Z"}