{"id":"CVE-2022-38145","aliases":["EUVD-2022-7251","GHSA-66jf-xm2m-7m8r"],"status":"published","title":"Stored XSS in Compare Mode","description":"Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00657,"percentile":0.51739,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-11-22T00:00:16Z","modified":"2026-10-28T02:30:53Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/versioned-admin","fixed_in":["1.11.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/versioned-admin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.11.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"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"]}],"products":[{"vendor":"silverstripe","product":"framework"}],"references":[{"url":"https://www.silverstripe.org/download/security-releases/","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://www.silverstripe.org/blog/tag/release","tags":["x_transferred","Patch","Vendor Advisory","article","web"]},{"url":"https://forum.silverstripe.org/c/releases","tags":["x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://www.silverstripe.org/download/security-releases/CVE-2022-38145","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2022-38145","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38145","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-66jf-xm2m-7m8r"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38145.json","tags":["advisory"]},{"url":"https://www.silverstripe.org/download/security-releases","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-38145","description":"Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.","status":"published","published":"2022-11-23T00:00:00Z","modified":"2025-04-25T20:28:02.691Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:37.272373Z"}],"euvd":[{"id":"EUVD-2022-7251","description":"Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.","status":"published","published":"2022-11-23T00:00:00Z","modified":"2025-04-25T20:28:02Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:02.538258Z"}],"ghsa":[{"id":"GHSA-66jf-xm2m-7m8r","title":"Stored XSS in Compare Mode","description":"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.","status":"published","published":"2022-11-22T00:00:16Z","modified":"2023-02-02T05:07:55Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:41.247728Z"}],"nvd":[{"id":"CVE-2022-38145","description":"Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.","status":"published","published":"2022-11-23T02:15:09.863Z","modified":"2026-06-17T04:56:11.237Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:32.827264Z"}],"osv":[{"id":"CVE-2022-38145","description":"Silverstripe silverstripe/framework through 4.11 allows XSS (issue 1 of 3) via remote attackers adding a Javascript payload to a page's meta description and get it executed in the versioned history compare view.","status":"published","published":"2022-11-23T00:00:00Z","modified":"2026-10-28T02:30:53.196825545Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:26.53798Z"},{"id":"GHSA-66jf-xm2m-7m8r","title":"Stored XSS in Compare Mode","description":"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.","status":"published","published":"2022-11-22T00:00:16Z","modified":"2024-02-20T05:32:32.773895Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
