{"id":"CVE-2022-25238","aliases":["EUVD-2022-6088","GHSA-jx34-gqqq-r6gm"],"status":"published","title":"Stored XSS via HTML fields in SilverStripe Framework","description":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","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-11","score":0.00707,"percentile":0.5386,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-06-28T21:39:48Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/framework","fixed_in":["4.10.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.10.9"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.10.9"}]}],"versions":["4.0.0","4.0.1","4.0.1-rc1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.1.0","4.1.0-rc1","4.1.0-rc2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.10.0","4.10.0-beta1","4.10.0-rc1","4.10.1","4.10.2","4.10.3","4.10.4","4.10.5","4.10.6","4.10.7","4.10.8","4.2.0","4.2.0-beta1","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.3.0","4.3.0-rc1","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.4.0","4.4.0-rc1","4.4.1","4.4.2","4.4.3","4.4.4","4.4.5","4.4.6","4.4.7","4.5.0","4.5.0-alpha1","4.5.0-rc1","4.5.0-rc2","4.5.1","4.5.2","4.5.3","4.5.4","4.6.0","4.6.0-beta1","4.6.0-rc1","4.6.1","4.6.2","4.7.0","4.7.0-beta1","4.7.0-rc1","4.7.1","4.7.2","4.7.3","4.7.4","4.8.0","4.8.0-beta1","4.8.0-rc1","4.8.1","4.9.0","4.9.0-alpha1","4.9.0-beta1","4.9.0-rc1","4.9.1","4.9.2","4.9.3","4.9.4"]}],"products":[{"vendor":"silverstripe","product":"framework"}],"references":[{"url":"https://www.silverstripe.org/download/security-releases/","tags":["x_refsource_MISC","x_transferred","Not Applicable","Vendor Advisory","web"]},{"url":"https://www.silverstripe.org/blog/tag/release","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","article","web"]},{"url":"https://forum.silverstripe.org/c/releases","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","web"]},{"url":"https://docs.silverstripe.org/en/4/changelogs/4.10.1/","tags":["x_refsource_MISC","x_transferred","Broken Link","Release Notes","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25238","tags":["advisory"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-25238.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/cve-2022-25238","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jx34-gqqq-r6gm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25238.json","tags":["advisory"]},{"url":"https://docs.silverstripe.org/en/4/changelogs/4.10.1","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-25238","description":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-28T21:39:48Z","modified":"2024-08-03T04:36:06.421Z","updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2022-6088","description":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-28T21:39:48Z","modified":"2024-08-03T04:36:06Z","updated_at":"2026-11-03T03:25:47.443246Z"}],"ghsa":[{"id":"GHSA-jx34-gqqq-r6gm","title":"Stored XSS via HTML fields in SilverStripe Framework","description":"SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-29T22:14:03Z","modified":"2023-01-27T05:05:05Z","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:21.8171Z"}],"nvd":[{"id":"CVE-2022-25238","description":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-28T22:15:07.957Z","modified":"2026-06-17T04:33:15.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","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:22.966735Z"}],"osv":[{"id":"GHSA-jx34-gqqq-r6gm","title":"Stored XSS via HTML fields in SilverStripe Framework","description":"SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-29T22:14:03Z","modified":"2024-02-21T05:32:08.922329Z","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:51.10002Z"},{"id":"CVE-2022-25238","description":"Silverstripe silverstripe/framework through 4.10.0 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.","status":"published","published":"2022-06-28T21:39:48Z","modified":"2026-10-28T02:30:54.772713914Z","updated_at":"2026-11-02T15:44:24.428403Z"}]}}
