Silverstripe XSS vulnerability via VirtualPage
Summary
GHSA-r97r-64vp-fghm: Silverstripe XSS vulnerability via VirtualPage. Affects silverstripe/cms versions >= 3.1.0, < 3.1.10. Fixed in 3.1.10. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
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.
How To Fix
Minimum fixed version
3.1.10
This is the first release that contains the fix.
composer require silverstripe/cms:3.1.10
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Related vulnerabilities
Recent vulnerabilities recorded for silverstripe/cms.