GitHub Advisory Database
GHSA-66jf-xm2m-7m8r
Stored XSS in Compare Mode
Details
A malicious content author could add a Javascript payload to a page's meta description and get it executed in the versioned history compare view.
This vulnerability requires access to the CMS to be deployed. The attacker must then convince a privileged user to access the version history for that page.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | silverstripe/versioned-admin | From 1.0.0 before 1.11.1 (fixed in 1.11.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38145
- https://forum.silverstripe.org/c/releases
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases
- https://www.silverstripe.org/download/security-releases/cve-2022-38145