MEDIUM6.1
GHSA-6hh6-59j2-qrxw
Silverstripe History XSS Vulnerability
Quick fix
GHSA-6hh6-59j2-qrxw — silverstripe/cms: upgrade to the fixed version with the command below.
composer require silverstripe/cms:^3.1.10Details
A cross-site scripting vulnerability has been discovered in the CMS page history tab.
This 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.
This has been resolved by performing the text comparison in a HTML friendly way.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/cms
Introduced in:
3.1.0Fixed in: 3.1.10Fix
composer require silverstripe/cms:^3.1.10