VDB
Sign up
MEDIUM

GHSA-gv6c-59h4-9pmg

Silverstripe CMS Arbitrary Code Execution

Quick fix

GHSA-gv6c-59h4-9pmg — silverstripe/cms: upgrade to the fixed version with the command below.

composer require silverstripe/cms:^2.4.6

Details

`code/sitefeatures/PageCommentInterface.php` in SilverStripe 2.4.x before 2.4.6 might allow remote attackers to execute arbitrary code via a crafted cookie in a user comment submission, which is not properly handled when it is deserialized.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/cms
Introduced in: 2.4.0Fixed in: 2.4.6
Fixcomposer require silverstripe/cms:^2.4.6

References