{"id":"GHSA-66jf-xm2m-7m8r","summary":"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.\n\nThis 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.","aliases":["CVE-2022-38145"],"modified":"2024-02-20T05:32:32.773895Z","published":"2022-11-22T00:00:16Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-11-22T00:00:16Z","nvd_published_at":"2022-11-23T02:15:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38145"},{"type":"WEB","url":"https://forum.silverstripe.org/c/releases"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml"},{"type":"WEB","url":"https://www.silverstripe.org/blog/tag/release"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/cve-2022-38145"}],"affected":[{"package":{"name":"silverstripe/versioned-admin","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/versioned-admin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.11.1"}]}],"versions":["1.0.0","1.1.0","1.1.0-rc1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.10.0-beta1","1.10.0-rc1","1.10.1","1.11.0","1.11.0-beta1","1.11.0-rc1","1.2.0","1.2.0-rc1","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.0-alpha1","1.3.0-rc1","1.3.0-rc2","1.3.1","1.6.0","1.6.0-beta1","1.6.0-rc1","1.6.1","1.7.0","1.7.0-beta1","1.7.0-rc1","1.7.1","1.7.2","1.7.3","1.8.0","1.8.0-beta1","1.8.0-beta2","1.8.0-rc1","1.8.1","1.9.0","1.9.0-alpha1","1.9.0-beta1","1.9.0-rc1","1.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-66jf-xm2m-7m8r/GHSA-66jf-xm2m-7m8r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}