{"id":"CVE-2022-38145","aliases":["CVE-2022-38145","GHSA-66jf-xm2m-7m8r"],"related":[],"kind":"vulnerability","state":"published","title":"Stored XSS in Compare Mode","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El framework Silverstripe hasta la versión 4.11 permite XSS (problema 1 de 3) a través de atacantes remotos que agreguen un payload de Javascript a la meta descripción de una página y la ejecute en la vista de comparación del historial de versiones.","source":"nvd"}],"published":"2022-11-22T00:00:16.000Z","modified":"2026-06-17T04:56:11.237Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0","status":"affected","fixed":"1.11.1"}],"ecosystem":"Packagist","package":"silverstripe/versioned-admin","purl":"pkg:composer/silverstripe/versioned-admin","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.11.1"}],"vendor":"silverstripe","product":"framework","cpe":"cpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.silverstripe.org/download/security-releases/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.silverstripe.org/blog/tag/release","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://forum.silverstripe.org/c/releases","tags":["release-notes","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.silverstripe.org/download/security-releases/CVE-2022-38145","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38145","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned-admin/CVE-2022-38145.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2022-38145","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-25T20:27:33.529Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-38145","url":"https://www.cve.org/CVERecord?id=CVE-2022-38145","licence":"CVE Terms of Use","modified":"2025-04-25T20:28:02.691Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-66jf-xm2m-7m8r","url":"https://github.com/advisories/GHSA-66jf-xm2m-7m8r","licence":"CC-BY-4.0","modified":"2024-02-20T05:32:32.773Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-38145","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38145","licence":"Public domain","modified":"2026-06-17T04:56:11.237Z"}],"updatedAt":"2026-11-25T22:58:16.838Z","epss":{"score":0.0076,"percentile":0.56516,"date":"2026-12-01T12:00:22.000Z"}}