medium5.4
CVE-2022-38145
Stored XSS in Compare Mode
Impact
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 | Fixed in |
|---|---|---|---|
| composer | silverstripe/versioned-admin | >= 1.0.0, < 1.11.1 | 1.11.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Silverstripe | Framework | from 1.0.0 before 1.11.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://forum.silverstripe.org/c/releases
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases/
- https://www.silverstripe.org/download/security-releases/CVE-2022-38145
- https://github.com/advisories/GHSA-66jf-xm2m-7m8r
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml
- https://www.silverstripe.org/download/security-releases/cve-2022-38145
- https://nvd.nist.gov/vuln/detail/CVE-2022-38145