MediumGHSA-r97r-64vp-fghm
Silverstripe XSS vulnerability via VirtualPage
Published 22 May 2024 · Updated 7 Dec 2024
Affected package
silverstripe/cmsComposer
- Affected
- >=3.1.0 <3.1.10
- Fixed in
- 3.1.10
Update to the fixed version for your release line, for example:
composer require silverstripe/cms:^3.1.10Details
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.
Is GHSA-r97r-64vp-fghm in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/cms, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.