VDB
Sign up
MEDIUM6.1

GHSA-r97r-64vp-fghm

Silverstripe XSS vulnerability via VirtualPage

Quick fix

GHSA-r97r-64vp-fghm — silverstripe/cms: upgrade to the fixed version with the command below.

composer require silverstripe/cms:^3.1.10

Details

A cross-site scripting vulnerability has been discovered in the VirtualPage class.

This 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.

This has been resolved by ensuring that VirtualPage safely escapes all field content.

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.10
Fixcomposer require silverstripe/cms:^3.1.10

References