GHSA-r97r-64vp-fghm: Silverstripe XSS vulnerability via VirtualPage
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.
Published May 22, 2024
Affected packages
silverstripe/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 3.1.0, <= 3.1.9
- Fixed in
- 3.1.10
- Check
composer show silverstripe/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
